mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
Merge r1874101, r1913838 from trunk:
fix build with LibreSSL 2.0.7+ PR: 64047 Follow up to r1874101: Axe useless LIBRESSL_VERSION_NUMBER check. Since the fix to MODSSL_USE_OPENSSL_PRE_1_1_API in r1908537, we are sure that !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2070000fL in this block. Submitted by: gbechis, ylavic Reviewed by: ylavic, minfrin, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1915539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1712,7 +1712,7 @@ static apr_status_t ssl_init_proxy_certs(server_rec *s,
|
||||
X509_STORE_CTX *sctx;
|
||||
X509_STORE *store = SSL_CTX_get_cert_store(mctx->ssl_ctx);
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x1010100fL
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
/* For OpenSSL >=1.1.1, turn on client cert support which is
|
||||
* otherwise turned off by default (by design).
|
||||
* https://github.com/openssl/openssl/issues/6933 */
|
||||
|
Reference in New Issue
Block a user