summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2019-06-23 23:55:48 +0200
committerGraham Leggett <minfrin@apache.org>2019-06-23 23:55:48 +0200
commit5e3277b05b196909aa7d53c3bd59686eb042e432 (patch)
tree4e66328afb1e38838aa241a4723e6c9c6159beda /acinclude.m4
parentAfter reinstatement of DSO support in APR/APR-util, revert r1837437, (diff)
downloadapache2-5e3277b05b196909aa7d53c3bd59686eb042e432.tar.xz
apache2-5e3277b05b196909aa7d53c3bd59686eb042e432.zip
mod_ssl: use OPENSSL_init_ssl() 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/httpd/httpd/trunk@1861950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 19af48a6e1..d57e7f7bb9 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -608,6 +608,7 @@ AC_DEFUN([APACHE_CHECK_OPENSSL],[
liberrors=""
AC_CHECK_HEADERS([openssl/engine.h])
AC_CHECK_FUNCS([SSL_CTX_new], [], [liberrors="yes"])
+ AC_CHECK_FUNCS([OPENSSL_init_ssl])
AC_CHECK_FUNCS([ENGINE_init ENGINE_load_builtin_engines RAND_egd \
CRYPTO_set_id_callback])
if test "x$liberrors" != "x"; then