]> Untitled Git - dockapps/wmnotify.git/commitdiff
Replaced deprecated function OpenSSL_add_all_algorithms()
authorHugo Villeneuve <hugo@hugovil.com>
Sat, 25 May 2013 23:06:00 +0000 (19:06 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Sat, 25 May 2013 23:06:00 +0000 (19:06 -0400)
Replaced OpenSSL_add_all_algorithms() with SSL_library_init() because it is no
longer present in openssl-0.9.8

ChangeLog
src/ssl.c

index 7e9fc791d792c3e2d7571d71733a23f5fc31205d..0a25943ec11310955f678ed70c2581f710b6effc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
 
+2006-02-19  Bobby  <jborgdor at cs dot uu dot nl>
+       * Replaced deprecated function OpenSSL_add_all_algorithms() with
+       SSL_library_init(), because OpenSSL_add_all_algorithms() is no
+       longer present in openssl-0.9.8.
+
 2005-10-25  Hugo Villeneuve  <hugo@hugovil.com>
        * Added a visual notification that a double-click has been detected.
 
index 245ea8d8a9893efedad82a4d80e137f052fc7b24..6df0b23a96b2c7e45aa4f24c7c9b862d94d68b32 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