From 9b5c00a664e3d43deaa88a3c1da8cdc51fa4f905 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 27 Jul 2009 18:31:48 +0000 Subject: [PATCH] From: Johan van Selst "you replaced the old SSLeay_add_ssl_algorithms() call with OpenSSL_add_all_algorithms(), however unlike the name suggests, the second function is not a superset of the first. When using SSL both these functions will need to be called in order to offer complete functionality" --- lib/ssluse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ssluse.c b/lib/ssluse.c index 5c6e73025..2365d5283 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -637,6 +637,9 @@ int Curl_ossl_init(void) SSL_load_error_strings(); /* Init the global ciphers and digests */ + if(!SSLeay_add_ssl_algorithms()) + return 0; + OpenSSL_add_all_algorithms(); return 1;