diff mcabber/connwrap/connwrap.c @ 955:6be62425dc38

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.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 02 Sep 2006 14:54:12 +0200
parents 40175f3dcef7
children 3225a1ba050d
line wrap: on
line diff
--- 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;
 }