File fetchmail-bump-max-passwordlen-to-1bytes.patch of Package fetchmail.22404

From: Matthias Andree <matthias.andree@gmx.de>
Date: Sat, 24 Apr 2021 15:12:01 +0200
Subject: Bump max. passwordlen to 10000 bytes.
Git-repo: https://gitlab.com/fetchmail/fetchmail.git
Git-commit: 919fd787540c4a3fa4694566edce406df1e42001

---
 fetchmail.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fetchmail.h b/fetchmail.h
index af4d0dd2..ac248805 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -104,7 +104,7 @@ enum authenticators {
 
 #define		NAMELEN		64	/* max username length */
 /* oauth2 access tokens seem to be about 130 characters; make this longer: */
-#define		PASSWORDLEN	4096	/* max password length; oauth2 tokens have no maximum length */
+#define		PASSWORDLEN	10000	/* max password length; oauth2 tokens have no maximum length */
 #define		DIGESTLEN	33	/* length of MD5 digest */
 
 /* exit code values */

openSUSE Build Service is sponsored by