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.
--- 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;
}
--- 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;
}