disable old apache, because broken ebuild
[portage-squeep] / www-servers / apache / .unused / files / apache-2.4.41-libressl.patch
1 From d446b977f28ec79fffc2d2b45c671e037b709f19 Mon Sep 17 00:00:00 2001
2 From: Stefan Strogin <steils@gentoo.org>
3 Date: Wed, 28 Aug 2019 02:15:42 +0300
4 Subject: [PATCH] mod_ssl: fix compilation with LibreSSL
5
6 Upstream-Status: Submitted [https://github.com/apache/httpd/pull/64]
7 Signed-off-by: Stefan Strogin <steils@gentoo.org>
8 ---
9 modules/ssl/ssl_engine_init.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/modules/ssl/ssl_engine_init.c b/modules/ssl/ssl_engine_init.c
13 index f54c922fc7..646c903fea 100644
14 --- a/modules/ssl/ssl_engine_init.c
15 +++ b/modules/ssl/ssl_engine_init.c
16 @@ -1512,7 +1512,7 @@ static apr_status_t ssl_init_proxy_certs(server_rec *s,
17 X509_STORE_CTX *sctx;
18 X509_STORE *store = SSL_CTX_get_cert_store(mctx->ssl_ctx);
19
20 -#if OPENSSL_VERSION_NUMBER >= 0x1010100fL
21 +#if OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(LIBRESSL_VERSION_NUMBER)
22 /* For OpenSSL >=1.1.1, turn on client cert support which is
23 * otherwise turned off by default (by design).
24 * https://github.com/openssl/openssl/issues/6933 */
25 --
26 2.23.0
27