1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00
out that OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm,
  and provided the solution too: to use OpenSSL_add_all_algorithms() instead
  of the older SSLeay_* alternative. OpenSSL_add_all_algorithms was added in
  OpenSSL 0.9.5
This commit is contained in:
Daniel Stenberg 2009-07-26 17:33:36 +00:00
parent 240bfaa69e
commit b347a7a96e
3 changed files with 10 additions and 5 deletions

View File

@ -6,6 +6,12 @@
Changelog Changelog
Daniel Stenberg (26 Jul 2009)
- Bug report #2825989 (http://curl.haxx.se/bug/view.cgi?id=2825989) pointed
out that OpenSSL-powered libcurl didn't support the SHA-2 digest algorithm,
and provided the solution too: to use OpenSSL_add_all_algorithms() instead
of the older SSLeay_* alternative.
Daniel Stenberg (23 Jul 2009) Daniel Stenberg (23 Jul 2009)
- Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA. - Added CURLOPT_SSH_KNOWNHOSTS, CURLOPT_SSH_KEYFUNCTION, CURLOPT_SSH_KEYDATA.
They introduce known_host support for SSH keys to libcurl. See docs for They introduce known_host support for SSH keys to libcurl. See docs for

View File

@ -35,6 +35,7 @@ This release includes the following bugfixes:
o auth problem over several hosts with re-used connection o auth problem over several hosts with re-used connection
o improved the support for client certificates in libcurl+NSS o improved the support for client certificates in libcurl+NSS
o fix leak in gtls code o fix leak in gtls code
o missing algorithms in libcurl+OpenSSL
This release includes the following known bugs: This release includes the following known bugs:

View File

@ -636,9 +636,8 @@ int Curl_ossl_init(void)
/* Lets get nice error messages */ /* Lets get nice error messages */
SSL_load_error_strings(); SSL_load_error_strings();
/* Setup all the global SSL stuff */ /* Init the global ciphers and digests */
if(!SSLeay_add_ssl_algorithms()) OpenSSL_add_all_algorithms();
return 0;
return 1; return 1;
} }
@ -653,8 +652,7 @@ void Curl_ossl_cleanup(void)
/* Free the SSL error strings */ /* Free the SSL error strings */
ERR_free_strings(); ERR_free_strings();
/* EVP_cleanup() removes all ciphers and digests from the /* EVP_cleanup() removes all ciphers and digests from the table. */
table. */
EVP_cleanup(); EVP_cleanup();
#ifdef HAVE_ENGINE_cleanup #ifdef HAVE_ENGINE_cleanup