summaryrefslogtreecommitdiff
path: root/www/apache24/files/patch-modules_md_md__crypt.c
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2018-03-24 18:26:34 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2018-03-24 18:26:34 +0000
commite8b46fe4f1c4e37f573cdcf55d760b6a381bcd63 (patch)
tree44a00f205a43253f2f59e8b9dafa2dabab0b7016 /www/apache24/files/patch-modules_md_md__crypt.c
parentaudio/yoshimi: Update to 1.5.7 (diff)
www/apache24: Update to 2.4.33
- Add new uwsgi and md modules - Fix LibreSSL 2.7.x builds - Remove conflicts for non-existent ports - There are no slave-ports - Coalesce .if WITH_DEBUG blocks - Use OPTIONS where possible - Remove dead code - Actually enable/disable modules in ALL_MODULES loop - Add suexec warning - Move Makefile.options to Makefile (too small) PR: 226647 With hat: apache Approved by: brnrd (apache) MFH: MFH2018Q1 Security: f38187e7-2f6e-11e8-8f07-b499baebfeaf
Diffstat (limited to 'www/apache24/files/patch-modules_md_md__crypt.c')
-rw-r--r--www/apache24/files/patch-modules_md_md__crypt.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache24/files/patch-modules_md_md__crypt.c b/www/apache24/files/patch-modules_md_md__crypt.c
new file mode 100644
index 000000000000..9cc62c8cb750
--- /dev/null
+++ b/www/apache24/files/patch-modules_md_md__crypt.c
@@ -0,0 +1,11 @@
+--- modules/md/md_crypt.c.orig 2018-01-30 10:20:50 UTC
++++ modules/md/md_crypt.c
+@@ -471,7 +471,7 @@ apr_status_t md_pkey_gen(md_pkey_t **ppk
+ }
+ }
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
+
+ #ifndef NID_tlsfeature
+ #define NID_tlsfeature 1020