[pkg-fetchmail-maint] Bug#421446: fetchmail: Invalid SSL protocol '' specified, using default (SSLv23).

Matthias Andree matthias.andree at gmx.de
Mon Jun 11 19:01:49 UTC 2007


The attached patch should fix this bug, which happens when the CAPA
probe fails.

-- 
Matthias Andree
-------------- next part --------------
Index: pop3.c
===================================================================
--- pop3.c	(Revision 5108)
+++ pop3.c	(Revision 5109)
@@ -449,7 +449,7 @@
 			report(stderr, GT_("TLS is mandatory for this session, but server refused CAPA command.\n"));
 			report(stderr, GT_("The CAPA command is however necessary for TLS.\n"));
 			return ok;
-		    } else {
+		    } else if (maybe_tls(ctl)) {
 			/* defeat opportunistic STLS */
 			xfree(ctl->sslproto);
 			ctl->sslproto = xstrdup("");
@@ -526,7 +526,7 @@
 		   }
 	       }
 	   }
-	}
+	} /* maybe_tls() */
 #endif /* SSL_ENABLE */
 
 	/*


More information about the pkg-fetchmail-maint mailing list