aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/nginx/files/nginx-disable-alpn.patch')
-rw-r--r--www-servers/nginx/files/nginx-disable-alpn.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-servers/nginx/files/nginx-disable-alpn.patch b/www-servers/nginx/files/nginx-disable-alpn.patch
new file mode 100644
index 0000000..b94aad1
--- /dev/null
+++ b/www-servers/nginx/files/nginx-disable-alpn.patch
@@ -0,0 +1,14 @@
+$OpenBSD: patch-src_event_ngx_event_openssl_h,v 1.2 2014/11/08 00:02:45 sthen Exp $
+--- src/event/ngx_event_openssl.h.orig Fri Nov 7 16:50:18 2014
++++ src/event/ngx_event_openssl.h Fri Nov 7 16:51:52 2014
+@@ -30,6 +30,12 @@
+ #include <openssl/x509.h>
+ #include <openssl/x509v3.h>
+
++/*
++ * XXX nginx checks this define to detect ALPN support;
++ * libressl has added the macro, but doesn't have support yet
++ */
++#undef TLSEXT_TYPE_application_layer_protocol_negotiation
++
+ #define NGX_SSL_NAME "OpenSSL"