fetchmail-friends
[Top] [All Lists]

[fetchmail]SSLOpen bug in fetchmail-5.7.1

2001-03-04 10:38:55
Hello!

I'm new in this list and so I don't know if someone else already found
this bug in fetchmail-5.7.1:

# gcc -DHAVE_CONFIG_H  -c  -I. -I. -I/usr/include/ssl -O -I./intl socket.c
# socket.c:757: conflicting types for `SSLOpen'
# socket.h:62: previous declaration of `SSLOpen'
# make: *** [socket.o] Error 1

The declaration in the header file "socket.h" is wrong. The following
patch solves this problem:

------cut------------------------------------------------------------------
--- fetchmail-5.7.1/socket.h    Sun Mar  4 06:25:21 2001
+++ fetchmail-5.7.1/socket.h.ok Sun Mar  4 13:24:19 2001
@@ -59,7 +59,7 @@
 int SockClose(int sock);

 #if SSL_ENABLE
-int SSLOpen(int sock, char *mycert, char *mykey, char *servercname);
+int SSLOpen(int sock, char *mycert, char *mykey, char *myproto,  char 
*servercname);
 #endif /* SSL_ENABLE */

 #endif /* SOCKET__ */
------cut------------------------------------------------------------------

I have also a little question: Is it possible to use a second name for
the required SMTP-Daemon (line 13 in fetchmail.spec in the source-RPM:
"Requires: smtpdaemon") so that the SuSE-Linux 7.1 name "smtp_daemon"
also works?

--
Björn Voigt <bjoern(_at_)cs(_dot_)tu-berlin(_dot_)de>
WWW: http://user.cs.tu-berlin.de/~bjoern/



<Prev in Thread] Current Thread [Next in Thread>
  • [fetchmail]SSLOpen bug in fetchmail-5.7.1, Bjoern Voigt <=