mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Drop support for the RSA BSAFE SSL-C toolkit from configure,
and remove #ifdef'ed code from mod_ssl and ab where applicable. Consensus for dropping support for SSL/TLS toolkits other than OpenSSL was reached on dev@httpd in June 2010 (message with ID <20100602162310.GA11156@redhat.com> and follow-ups). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154683 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -250,14 +250,12 @@ static apr_status_t ssl_cleanup_pre_config(void *data)
|
||||
/*
|
||||
* Try to kill the internals of the SSL library.
|
||||
*/
|
||||
#ifdef HAVE_OPENSSL
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00907001
|
||||
/* Corresponds to OPENSSL_load_builtin_modules():
|
||||
* XXX: borrowed from apps.h, but why not CONF_modules_free()
|
||||
* which also invokes CONF_modules_finish()?
|
||||
*/
|
||||
CONF_modules_unload(1);
|
||||
#endif
|
||||
#endif
|
||||
/* Corresponds to SSL_library_init: */
|
||||
EVP_cleanup();
|
||||
@@ -292,19 +290,15 @@ static int ssl_hook_pre_config(apr_pool_t *pconf,
|
||||
* code can successfully test the SSL environment.
|
||||
*/
|
||||
CRYPTO_malloc_init();
|
||||
#ifdef HAVE_OPENSSL
|
||||
ERR_load_crypto_strings();
|
||||
#endif
|
||||
SSL_load_error_strings();
|
||||
SSL_library_init();
|
||||
#if HAVE_ENGINE_LOAD_BUILTIN_ENGINES
|
||||
ENGINE_load_builtin_engines();
|
||||
#endif
|
||||
#ifdef HAVE_OPENSSL
|
||||
OpenSSL_add_all_algorithms();
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x00907001
|
||||
OPENSSL_load_builtin_modules();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user