fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]Fetchmail 5.9.11 + SSL bug and workaround

2002-06-04 11:17:16
On Tue, Jun 04, 2002 at 05:57:13PM -0400, Jason Day wrote:
The problem, I think, is that ctl->server.port never gets initialized (it's
zero), so I think this block of code gets executed when it should not.  None
of this code was in version 5.8.1, so I just commented out the whole block
and tried again, and it worked.

The Debian version includes the following patch, which fixes
this problem without disabling STLS support entirely.

--- fetchmail-5.9.11.orig/pop3.c
+++ fetchmail-5.9.11/pop3.c
@@ -232,7 +232,7 @@
        }
 
 #ifdef SSL_ENABLE
-       if (has_ssl &&
+       if (has_ssl && !ctl->use_ssl &&
 #if INET6_ENABLE
            ctl->server.service && (strcmp(ctl->server.service, "pop3s"))
 #else /* INET6_ENABLE */

Attachment: pgpSI0DhCpPCo.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>