Added SSLv3 and TLSv1 methods in addition to SSLv2
[dockapps/wmnotify.git] / 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