summaryrefslogtreecommitdiffhomepage
path: root/patches/lighttpd-1.4.77.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/lighttpd-1.4.77.local.patch')
-rw-r--r--patches/lighttpd-1.4.77.local.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/patches/lighttpd-1.4.77.local.patch b/patches/lighttpd-1.4.77.local.patch
new file mode 100644
index 00000000..3acc57ed
--- /dev/null
+++ b/patches/lighttpd-1.4.77.local.patch
@@ -0,0 +1,19 @@
+diff -ru lighttpd-1.4.77.orig/src/mod_openssl.c lighttpd-1.4.77/src/mod_openssl.c
+--- lighttpd-1.4.77.orig/src/mod_openssl.c 2025-01-10 05:12:08.000000000 +0100
++++ lighttpd-1.4.77/src/mod_openssl.c 2025-02-22 13:20:20.502779996 +0100
+@@ -3020,15 +3020,7 @@
+ "X25519:P-256:P-384:X448";
+ #endif
+
+- #if (defined(BORINGSSL_API_VERSION) && BORINGSSL_API_VERSION >= 19) \
+- || (defined(LIBRESSL_VERSION_NUMBER) \
+- && LIBRESSL_VERSION_NUMBER >= 0x2050100fL) \
+- || OPENSSL_VERSION_NUMBER >= 0x10101000L
+ int rc = SSL_CTX_set1_groups_list(s->ssl_ctx, groups);
+- #elif (defined(BORINGSSL_API_VERSION && BORINGSSL_API_VERSION >= 3) \
+- || OPENSSL_VERSION_NUMBER >= 0x10100000L
+- int rc = SSL_CTX_set1_curves_list(s->ssl_ctx, groups);
+- #endif
+ if (1 != rc) {
+ log_error(srv->errh, __FILE__, __LINE__,
+ "SSL: Unable to config groups %s", groups);