[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSL b0rk3d in 1.7.6



On Fri, Jun 01, 2001 at 04:31:16PM +1000, Brett wrote:

> xchat.c: In function `main':
> xchat.c:1108: `ssl_cb_info' undeclared (first use in this function)

Fix attached. Note that the added declaration should actually go into a .h
file, but I'll leave that to Peter. ;)

Richard
diff -urN xchat-1.7.6/src/common/xchat.c xchat-1.7.6-new/src/common/xchat.c
--- xchat-1.7.6/src/common/xchat.c	Fri Jun  1 05:50:52 2001
+++ xchat-1.7.6-new/src/common/xchat.c	Sat Jun  2 00:00:34 2001
@@ -75,6 +75,7 @@
 
 #ifdef USE_OPENSSL
 SSL_CTX *ctx = NULL;
+void ssl_cb_info(SSL *, int, int);
 #endif
 
 static void free_away_messages (server *serv);