From 76a985f78ef1695f0b81ccfe78c97cd71a62e659 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Tue, 7 Sep 2010 05:08:36 +0000 Subject: [PATCH] Added SSLv3 and TLSv1 methods in addition to SSLv2 --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1