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

Follow up to r1828222: fix "defined but not used 'prot'" warning with libressl.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1830522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2018-04-29 22:07:26 +00:00
parent 9df2e49e57
commit c81b2af0c8

View File

@@ -582,7 +582,8 @@ static apr_status_t ssl_init_ctx_protocol(server_rec *s,
char *cp; char *cp;
int protocol = mctx->protocol; int protocol = mctx->protocol;
SSLSrvConfigRec *sc = mySrvConfig(s); SSLSrvConfigRec *sc = mySrvConfig(s);
#if OPENSSL_VERSION_NUMBER >= 0x10100000L #if OPENSSL_VERSION_NUMBER >= 0x10100000L && \
(!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x20800000L)
int prot; int prot;
#endif #endif