summaryrefslogtreecommitdiffstats
path: root/modules/ssl/ssl_engine_kernel.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2020-03-23 14:33:22 +0100
committerRainer Jung <rjung@apache.org>2020-03-23 14:33:22 +0100
commit40d37b8a304f93cd14def4e9eab887b00a3d0e78 (patch)
treee5daeb8da2488a37ebe72f1f7d7a40d96f5b784e /modules/ssl/ssl_engine_kernel.c
parentBetter define conditions for skipping tests on 2.4.x or non-2.4.x. (diff)
downloadapache2-40d37b8a304f93cd14def4e9eab887b00a3d0e78.tar.xz
apache2-40d37b8a304f93cd14def4e9eab887b00a3d0e78.zip
Fix compilation breakage with OpenSSL 1.1.0 up to 1.1.0f.
SSL_CTX_get_min_proto_version() and SSL_CTX_get_max_proto_version() were only introduced in 1.1.0g. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1875544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/ssl/ssl_engine_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c
index a27168c565..14f9688fb2 100644
--- a/modules/ssl/ssl_engine_kernel.c
+++ b/modules/ssl/ssl_engine_kernel.c
@@ -2535,7 +2535,7 @@ static int ssl_find_vhost(void *servername, conn_rec *c, server_rec *s)
* from the ctx by hand
*/
SSL_set_options(ssl, SSL_CTX_get_options(ctx));
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L \
+#if OPENSSL_VERSION_NUMBER >= 0x1010007fL \
&& (!defined(LIBRESSL_VERSION_NUMBER) \
|| LIBRESSL_VERSION_NUMBER >= 0x20800000L)
/*