fetchmail-friends
[Top] [All Lists]

[fetchmail] SSL related bug in 5.9.1

2001-09-25 01:57:46
Sorry if this came up before, but I'm new to the list and I didn't
find anything in the archives.

I think there is a bug in the SSL sanity check (new for
5.9.1). Although I compiled SSL support into fetchmail, it complains
with "SSL support is not compiled in" (obviously, I'm using the ssl
option in my .fetchmailrc). The following output is generated:

----------------------------------------------------------------------
bash$ ~/bin/fetchmail -V 
This is fetchmail release 5.9.1+SSL
Linux xyz 2.2.13-SMP #1 SMP Mon Nov 8 16:05:52 CET 1999 i686 unknown
fetchmail: SSL support is not compiled in.
----------------------------------------------------------------------

The following patch fixes the bug (at least for me):

----------------------------------------------------------------------
bash$ diff -Naur fetchmail.c~ fetchmail.c
--- fetchmail.c~        Mon Sep 24 19:48:02 2001
+++ fetchmail.c Tue Sep 25 10:36:16 2001
@@ -1044,13 +1044,14 @@
 #ifdef SSL_ENABLE
            DEFAULT(ctl->use_ssl, FALSE);
            DEFAULT(ctl->sslcertck, FALSE);
-#endif
-           DEFAULT(ctl->server.checkalias, FALSE);
+#else
            if (ctl->use_ssl) 
            {
                report(stderr, GT_("SSL support is not compiled in.\n"));
                exit(PS_SYNTAX);
            }
+#endif
+           DEFAULT(ctl->server.checkalias, FALSE);
 #undef DEFAULT
 
            /*
----------------------------------------------------------------------

Additional info:

OS:       Linux  2.2.13-SMP
compiler: egcs-2.91.66


Greetings,
        tobias



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail] SSL related bug in 5.9.1, Tobias Kunze <=