Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
954:27a7b2f986f5 | 955:6be62425dc38 |
---|---|
177 SSL_free(socks[i].ssl); | 177 SSL_free(socks[i].ssl); |
178 } | 178 } |
179 } | 179 } |
180 | 180 |
181 free(socks); | 181 free(socks); |
182 | |
183 SSL_CTX_free(ctx); | |
184 ctx = 0; | |
182 | 185 |
183 socks = nsocks; | 186 socks = nsocks; |
184 sockcount = nsockcount; | 187 sockcount = nsockcount; |
185 } | 188 } |
186 | 189 |