[rs-commit] r21 - /redwax-tool/trunk/redwax_openssl.c
rs-commit at redwax.eu
rs-commit at redwax.eu
Sun Sep 5 15:53:00 CEST 2021
Author: minfrin at redwax.eu
Date: Sun Sep 5 15:53:00 2021
New Revision: 21
Log:
We're 1.1.0 at a minimum, remove deprecated code.
Modified:
redwax-tool/trunk/redwax_openssl.c
Modified: redwax-tool/trunk/redwax_openssl.c
==============================================================================
--- redwax-tool/trunk/redwax_openssl.c (original)
+++ redwax-tool/trunk/redwax_openssl.c Sun Sep 5 15:53:00 2021
@@ -225,21 +225,6 @@
return APR_SUCCESS;
}
-#if OPENSSL_API_COMPAT < 0x10100000L
-static apr_status_t cleanup_crypto_strings(void *dummy)
-{
- FIPS_mode_set(0);
- /* ENGINE_cleanup(); */
- CONF_modules_unload(1);
- EVP_cleanup();
- CRYPTO_cleanup_all_ex_data();
- /* ERR_remove_state(); */
- ERR_free_strings();
-
- return APR_SUCCESS;
-}
-#endif
-
static apr_status_t redwax_openssl_initialise(redwax_tool_t *r)
{
cert_index = sk_X509_new_null();
@@ -258,14 +243,6 @@
redwax_get_x509_index();
redwax_get_x509_store_ctx_index();
-
-#if OPENSSL_API_COMPAT < 0x10100000L
- ERR_load_crypto_strings();
- OPENSSL_add_all_algorithms_noconf();
-
- apr_pool_cleanup_register(r->pool, NULL, cleanup_crypto_strings,
- apr_pool_cleanup_null);
-#endif
return OK;
}
More information about the rs-commit
mailing list