]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix compilation breakage with OpenSSL 1.1.0 up to 1.1.0f.
authorRainer Jung <rjung@apache.org>
Mon, 23 Mar 2020 13:33:22 +0000 (13:33 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 23 Mar 2020 13:33:22 +0000 (13:33 +0000)
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

modules/ssl/ssl_engine_kernel.c

index a27168c5658bfb9fb69b90d24a3f02972c68bd23..14f9688fb2453a15805e3fc32b25b01085827c5d 100644 (file)
@@ -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)
         /*