]> granicus.if.org Git - curl/commitdiff
From: Johan van Selst
authorDaniel Stenberg <daniel@haxx.se>
Mon, 27 Jul 2009 18:31:48 +0000 (18:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 27 Jul 2009 18:31:48 +0000 (18:31 +0000)
"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

index 5c6e7302521c35e17936faf875d0c12eafad5cec..2365d52832cfc817f3cf361b24a7848d7d6ff6c3 100644 (file)
@@ -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;