summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-03-18 16:33:08 +0000
committerYann Ylavic <ylavic@apache.org>2023-03-18 16:33:08 +0000
commit46dba5b26749d1a024a1ac6941cd31b1668b25d8 (patch)
tree0a36d613ca7f44063a12353b1d406fdd732778b4 /crypto
parent94aed4caae40e1e421d989918c5eaa7271759809 (diff)
downloadapr-46dba5b26749d1a024a1ac6941cd31b1668b25d8.tar.gz
crypto_openssl: Fix configure/detection of OPENSSL_init_crypto()
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908503 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'crypto')
-rw-r--r--crypto/apr_crypto_openssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/apr_crypto_openssl.c b/crypto/apr_crypto_openssl.c
index 4d38b9051..8867f0931 100644
--- a/crypto/apr_crypto_openssl.c
+++ b/crypto/apr_crypto_openssl.c
@@ -203,7 +203,7 @@ static apr_status_t crypto_error(const apu_err_t **result,
*/
static apr_status_t crypto_shutdown(void)
{
-#if HAVE_DECL_OPENSSL_INIT_CRYPTO
+#if HAVE_OPENSSL_INIT_CRYPTO
/* Openssl v1.1+ handles all termination automatically. Do
* nothing in this case.
*/
@@ -232,7 +232,7 @@ static apr_status_t crypto_shutdown_helper(void *data)
static apr_status_t crypto_init(apr_pool_t *pool, const char *params,
const apu_err_t **result)
{
-#if HAVE_DECL_OPENSSL_INIT_CRYPTO
+#if HAVE_OPENSSL_INIT_CRYPTO
/* Openssl v1.1+ handles all initialisation automatically, apart
* from hints as to how we want to use the library.
*