aboutsummaryrefslogtreecommitdiffstats
path: root/main/apache2/libressl-fix.patch
blob: ae40c389464ff5ee006127b8e6495e130c084b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- httpd-2.4.38/modules/ssl/ssl_engine_init.c
+++ httpd-2.4.38.libressl/modules/ssl/ssl_engine_init.c
@@ -1494,7 +1494,7 @@
     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 */