aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-07-27 18:31:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-07-27 18:31:48 +0000
commit9b5c00a664e3d43deaa88a3c1da8cdc51fa4f905 (patch)
tree939c7e89a98646160cad2ccf90d25e64e2e93baa
parentb347a7a96e1518089264bf166e676f40cf525350 (diff)
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"
-rw-r--r--lib/ssluse.c3
1 files changed, 3 insertions, 0 deletions
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;