diff options
author | Dirk Feytons <dirk.feytons@gmail.com> | 2016-05-20 13:39:12 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-23 11:59:31 +0200 |
commit | 0099748fd623cdeed24511d5b2b89556303befe5 (patch) | |
tree | 57dbd9708b23560a107e2ffad3d7ae3b04b82b26 /package/libs/openssl/Makefile | |
parent | eb4fc91a81f01a0ea3dd7f3bd0230f1c5eca67c6 (diff) | |
download | upstream-0099748fd623cdeed24511d5b2b89556303befe5.tar.gz upstream-0099748fd623cdeed24511d5b2b89556303befe5.tar.bz2 upstream-0099748fd623cdeed24511d5b2b89556303befe5.zip |
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/Makefile')
-rw-r--r-- | package/libs/openssl/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index c5d281a6da..33b47aa930 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -34,7 +34,8 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_OPENSSL_WITH_SSL3 \ CONFIG_OPENSSL_HARDWARE_SUPPORT \ CONFIG_OPENSSL_WITH_DEPRECATED \ - CONFIG_OPENSSL_WITH_COMPRESSION + CONFIG_OPENSSL_WITH_COMPRESSION \ + CONFIG_OPENSSL_WITH_NPN include $(INCLUDE_DIR)/package.mk @@ -131,6 +132,10 @@ else OPENSSL_OPTIONS += no-comp endif +ifndef CONFIG_OPENSSL_WITH_NPN + OPENSSL_OPTIONS += no-nextprotoneg +endif + ifeq ($(CONFIG_x86_64),y) OPENSSL_TARGET:=linux-x86_64-openwrt OPENSSL_MAKEFLAGS += LIBDIR=lib |