# HG changeset patch # User Mikael Berthe # Date 1157201652 -7200 # Node ID 6be62425dc38956badeafba75292afb8bf029150 # Parent 27a7b2f986f52d1c02c2e98ae9caaaf12939b32b Use current ssl_verify value in /connect In delsock(), free the SSL_CTX object and reset the ctx pointer so that a full initialization occurs the next time init() is called. diff -r 27a7b2f986f5 -r 6be62425dc38 mcabber/connwrap/connwrap.c --- a/mcabber/connwrap/connwrap.c Sat Sep 02 10:01:25 2006 +0200 +++ b/mcabber/connwrap/connwrap.c Sat Sep 02 14:54:12 2006 +0200 @@ -180,6 +180,9 @@ free(socks); + SSL_CTX_free(ctx); + ctx = 0; + socks = nsocks; sockcount = nsockcount; } diff -r 27a7b2f986f5 -r 6be62425dc38 mcabber/src/main.c --- a/mcabber/src/main.c Sat Sep 02 10:01:25 2006 +0200 +++ b/mcabber/src/main.c Sat Sep 02 14:54:12 2006 +0200 @@ -106,7 +106,7 @@ #if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS) if (ssl || sslvopt || cafile || capath || ciphers) { scr_LogPrint(LPRINT_LOGNORM, - "** Warning: SSL is NOT available, ignoring ssl-related setting"); + "** Warning: SSL is NOT available, ignoring ssl-related setting"); ssl = sslverify = 0; cafile = capath = ciphers = NULL; }