From: Hugo Villeneuve Date: Tue, 7 Sep 2010 05:08:36 +0000 (+0000) Subject: Added SSLv3 and TLSv1 methods in addition to SSLv2 X-Git-Tag: v1.0.0~6 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=76a985f78ef1695f0b81ccfe78c97cd71a62e659;p=dockapps%2Fwmnotify.git Added SSLv3 and TLSv1 methods in addition to SSLv2 --- diff --git a/src/ssl.c b/src/ssl.c index 76aa32d..46827f7 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -53,7 +53,7 @@ InitCTX( void ) SSL_library_init(); /* Load cryptos, et.al. */ SSL_load_error_strings(); /* Bring in and register error messages */ - method = SSLv2_client_method(); /* Create new client-method instance */ + method = SSLv23_client_method(); /* Indicate we support SSLv2, SSLv3 and TLSv1 methods. */ ctx = SSL_CTX_new(method); /* Create new context */ if( ctx == NULL ) { ERR_print_errors_fp(stderr);