From c204b571bad7df2f1de4ff5f30f14923565081c7 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 25 May 2013 19:06:00 -0400 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ src/ssl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 */ -- 2.20.1