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:
@@ -582,7 +582,8 @@ static apr_status_t ssl_init_ctx_protocol(server_rec *s,
|
||||
char *cp;
|
||||
int protocol = mctx->protocol;
|
||||
SSLSrvConfigRec *sc = mySrvConfig(s);
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \
|
||||
(!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x20800000L)
|
||||
int prot;
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user