From: Hugo Villeneuve Date: Sat, 25 May 2013 23:06:00 +0000 (-0400) Subject: Replaced deprecated function OpenSSL_add_all_algorithms() X-Git-Tag: v0.3.2~3 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=c204b571bad7df2f1de4ff5f30f14923565081c7;p=dockapps%2Fwmnotify.git Replaced deprecated function OpenSSL_add_all_algorithms() Replaced OpenSSL_add_all_algorithms() with SSL_library_init() because it is no longer present in openssl-0.9.8 --- diff --git a/ChangeLog b/ChangeLog index 7e9fc79..0a25943 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ +2006-02-19 Bobby + * 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 * Added a visual notification that a double-click has been detected. diff --git a/src/ssl.c b/src/ssl.c index 245ea8d..6df0b23 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -35,7 +35,7 @@ InitCTX( void ) SSL_METHOD *method; SSL_CTX *ctx; - OpenSSL_add_all_algorithms(); /* Load cryptos, et.al. */ + 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 */ ctx = SSL_CTX_new(method); /* Create new context */