X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fssl.c;h=46827f774b82cd7143320fda3f1357170aff6350;hb=76a985f78ef1695f0b81ccfe78c97cd71a62e659;hp=76aa32d6f7d18d3b732be968b05cceaae3fe3006;hpb=e7ab42f84cca40feb87898e461b2e04df76484ed;p=dockapps%2Fwmnotify.git 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);