comparison mcabber/src/main.c @ 1253:eb38963e082f

Add gnutls suppport This is based on the patch from Anibal Avelar for center{icq,im}.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 22 Jun 2007 19:18:44 +0200
parents 3a4018f18bdf
children ea679e3598a9
comparison
equal deleted inserted replaced
1252:9f7e6c22cd14 1253:eb38963e082f
114 if (ssl || sslvopt || cafile || capath || ciphers) { 114 if (ssl || sslvopt || cafile || capath || ciphers) {
115 scr_LogPrint(LPRINT_LOGNORM, 115 scr_LogPrint(LPRINT_LOGNORM,
116 "** Warning: SSL is NOT available, ignoring ssl-related setting"); 116 "** Warning: SSL is NOT available, ignoring ssl-related setting");
117 ssl = sslverify = 0; 117 ssl = sslverify = 0;
118 cafile = capath = ciphers = NULL; 118 cafile = capath = ciphers = NULL;
119 }
120 #elif defined HAVE_GNUTLS
121 if (sslverify >= 0) {
122 scr_LogPrint(LPRINT_LOGNORM, "Warning: SSL certificate checking "
123 "is not supported yet with GnuTLS");
119 } 124 }
120 #endif 125 #endif
121 cafile_xp = expand_filename(cafile); 126 cafile_xp = expand_filename(cafile);
122 capath_xp = expand_filename(capath); 127 capath_xp = expand_filename(capath);
123 cw_set_ssl_options(sslverify, cafile_xp, capath_xp, ciphers, servername); 128 cw_set_ssl_options(sslverify, cafile_xp, capath_xp, ciphers, servername);