comparison mcabber/src/main.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 fc30221b952d
children 95659cf9ea1a
comparison
equal deleted inserted replaced
954:27a7b2f986f5 955:6be62425dc38
104 ciphers = settings_opt_get("ssl_ciphers"); 104 ciphers = settings_opt_get("ssl_ciphers");
105 105
106 #if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS) 106 #if !defined(HAVE_OPENSSL) && !defined(HAVE_GNUTLS)
107 if (ssl || sslvopt || cafile || capath || ciphers) { 107 if (ssl || sslvopt || cafile || capath || ciphers) {
108 scr_LogPrint(LPRINT_LOGNORM, 108 scr_LogPrint(LPRINT_LOGNORM,
109 "** Warning: SSL is NOT available, ignoring ssl-related setting"); 109 "** Warning: SSL is NOT available, ignoring ssl-related setting");
110 ssl = sslverify = 0; 110 ssl = sslverify = 0;
111 cafile = capath = ciphers = NULL; 111 cafile = capath = ciphers = NULL;
112 } 112 }
113 #endif 113 #endif
114 cw_set_ssl_options(sslverify, cafile, capath, ciphers, servername); 114 cw_set_ssl_options(sslverify, cafile, capath, ciphers, servername);