diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2018-05-02 19:03:18 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2018-05-02 19:03:18 +0000 |
commit | a443614da050f9f2872182472463f3062ef6e743 (patch) | |
tree | e5b684f2f4fb707d1413471d27c09e1e4215934f /www/apache24/files/patch-modules_ssl_ssl__engine__init.c | |
parent | multimedia/webcamoid: actual commits for r468753 (diff) |
www/apache24: Fix runtime failure with LibreSSL 2.7
- Fix LOG_FORENSIC in plist while here
PR: 227868
Reported by: Jens K. Loewe <mozilla tuxproject de>
Approved by: hat (apache@)
Diffstat (limited to 'www/apache24/files/patch-modules_ssl_ssl__engine__init.c')
-rw-r--r-- | www/apache24/files/patch-modules_ssl_ssl__engine__init.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/apache24/files/patch-modules_ssl_ssl__engine__init.c b/www/apache24/files/patch-modules_ssl_ssl__engine__init.c new file mode 100644 index 000000000000..1341e4d5eb7d --- /dev/null +++ b/www/apache24/files/patch-modules_ssl_ssl__engine__init.c @@ -0,0 +1,12 @@ +--- modules/ssl/ssl_engine_init.c.orig 2018-02-13 23:43:36 UTC ++++ modules/ssl/ssl_engine_init.c +@@ -546,7 +546,7 @@ static apr_status_t ssl_init_ctx_protoco + 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 < 0x20700000L) + int prot; + #endif + + |