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

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(-)

Index: fetchmail-6.5.1/fetchmail.h
===================================================================
--- fetchmail-6.5.1.orig/fetchmail.h
+++ fetchmail-6.5.1/fetchmail.h
@@ -101,7 +101,7 @@ struct addrinfo;
 
 #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