Added SSLv3 and TLSv1 methods in addition to SSLv2
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 7 Sep 2010 05:08:36 +0000 (05:08 +0000)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 25 May 2013 23:36:55 +0000 (19:36 -0400)
src/ssl.c

index 76aa32d..46827f7 100644 (file)
--- a/src/ssl.c
+++ b/src/ssl.c
@@ -53,7 +53,7 @@ InitCTX( void )
   \r
   SSL_library_init();             /* Load cryptos, et.al. */\r
   SSL_load_error_strings();       /* Bring in and register error messages */\r
-  method = SSLv2_client_method(); /* Create new client-method instance */\r
+  method = SSLv23_client_method(); /* Indicate we support SSLv2, SSLv3 and TLSv1 methods. */\r
   ctx = SSL_CTX_new(method);      /* Create new context */\r
   if( ctx == NULL ) {\r
     ERR_print_errors_fp(stderr);\r