summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2019-06-23 22:49:52 +0000
committerGraham Leggett <minfrin@apache.org>2019-06-23 22:49:52 +0000
commit741c00a112a4419e65616260101d8026e69effa6 (patch)
tree4dc23367f9d71b346fcef09d55f3ebc4b27356b4 /build
parent39f444510548b97f6e46e16df675bdce5f943920 (diff)
downloadapr-741c00a112a4419e65616260101d8026e69effa6.tar.gz
apr_crypto_openssl: use OPENSSL_init_crypto() to initialise OpenSSL
on versions 1.1+. Reference: http://openssl.6102.n7.nabble.com/Shutting-down-openssl-is-the-correct-thing-to-do-nothing-td76857.html#a76862 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861954 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/crypto.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/crypto.m4 b/build/crypto.m4
index f9fe78200..83a1f04bc 100644
--- a/build/crypto.m4
+++ b/build/crypto.m4
@@ -119,7 +119,7 @@ AC_DEFUN([APU_CHECK_CRYPTO_OPENSSL], [
APR_ADDTO(INCLUDES, [-I$withval/include])
fi
- AC_CHECK_DECLS([EVP_PKEY_CTX_new], [], [],
+ AC_CHECK_DECLS([EVP_PKEY_CTX_new, OPENSSL_init_crypto], [], [],
[#include <openssl/evp.h>])
fi