summaryrefslogtreecommitdiff
path: root/package/libs/openssl/patches
diff options
context:
space:
mode:
authorDirk Feytons <dirk.feytons@gmail.com>2016-05-20 13:39:12 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-23 11:59:31 +0200
commit0099748fd623cdeed24511d5b2b89556303befe5 (patch)
tree57dbd9708b23560a107e2ffad3d7ae3b04b82b26 /package/libs/openssl/patches
parenteb4fc91a81f01a0ea3dd7f3bd0230f1c5eca67c6 (diff)
downloadmtk-20170518-0099748fd623cdeed24511d5b2b89556303befe5.zip
mtk-20170518-0099748fd623cdeed24511d5b2b89556303befe5.tar.gz
mtk-20170518-0099748fd623cdeed24511d5b2b89556303befe5.tar.bz2
openssl: add option for NPN support
NPN has been superseded by ALPN so NPN is disabled by default The patch has been sent to OpenSSL for inclusion, see https://github.com/openssl/openssl/pull/1100 Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Diffstat (limited to 'package/libs/openssl/patches')
-rw-r--r--package/libs/openssl/patches/301-fix_no_nextprotoneg_build.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libs/openssl/patches/301-fix_no_nextprotoneg_build.patch b/package/libs/openssl/patches/301-fix_no_nextprotoneg_build.patch
new file mode 100644
index 0000000..04b76c7
--- /dev/null
+++ b/package/libs/openssl/patches/301-fix_no_nextprotoneg_build.patch
@@ -0,0 +1,12 @@
+--- a/ssl/t1_ext.c
++++ b/ssl/t1_ext.c
+@@ -275,7 +275,9 @@ int SSL_extension_supported(unsigned int
+ case TLSEXT_TYPE_ec_point_formats:
+ case TLSEXT_TYPE_elliptic_curves:
+ case TLSEXT_TYPE_heartbeat:
++# ifndef OPENSSL_NO_NEXTPROTONEG
+ case TLSEXT_TYPE_next_proto_neg:
++# endif
+ case TLSEXT_TYPE_padding:
+ case TLSEXT_TYPE_renegotiate:
+ case TLSEXT_TYPE_server_name: