Replaced deprecated function OpenSSL_add_all_algorithms()
[dockapps/wmnotify.git] / src / ssl.c
index 245ea8d..6df0b23 100644 (file)
--- a/src/ssl.c
+++ b/src/ssl.c
@@ -35,7 +35,7 @@ InitCTX( void )
   SSL_METHOD *method;\r
   SSL_CTX *ctx;\r
   \r
-  OpenSSL_add_all_algorithms();   /* Load cryptos, et.al. */\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
   ctx = SSL_CTX_new(method);      /* Create new context */\r