1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

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
This commit is contained in:
Rainer Jung
2020-03-23 13:33:22 +00:00
parent 0e23342736
commit 40d37b8a30

View 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)
/*