From: Daniel Stenberg Date: Mon, 27 Jul 2009 18:31:48 +0000 (+0000) Subject: From: Johan van Selst X-Git-Tag: curl-7_19_6~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b5c00a664e3d43deaa88a3c1da8cdc51fa4f905;p=curl 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" --- 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;