From c0b15b307201ddeeaf01aa4d6c85cdefbade035f Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 26 Sep 2016 13:00:04 -0700 Subject: [PATCH] openssl: Make DTLS configurable. Signed-off by: Rosen Penev --- package/libs/openssl/Config.in | 5 +++++ package/libs/openssl/Makefile | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/package/libs/openssl/Config.in b/package/libs/openssl/Config.in index 65da36b01c28..dbcd11abfc00 100644 --- a/package/libs/openssl/Config.in +++ b/package/libs/openssl/Config.in @@ -20,6 +20,11 @@ config OPENSSL_WITH_DEPRECATED default y prompt "Include deprecated APIs" +config OPENSSL_WITH_DTLS + bool + default n + prompt "Enable DTLS support" + config OPENSSL_WITH_COMPRESSION bool default n diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile index 0df6f3edb6d5..a41686fd9b9a 100644 --- a/package/libs/openssl/Makefile +++ b/package/libs/openssl/Makefile @@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_OPENSSL_WITH_SSL3 \ CONFIG_OPENSSL_HARDWARE_SUPPORT \ CONFIG_OPENSSL_WITH_DEPRECATED \ + CONFIG_OPENSSL_WITH_DTLS \ CONFIG_OPENSSL_WITH_COMPRESSION \ CONFIG_OPENSSL_WITH_NPN \ CONFIG_OPENSSL_WITH_PSK \ @@ -130,6 +131,10 @@ ifndef CONFIG_OPENSSL_WITH_DEPRECATED OPENSSL_OPTIONS += no-deprecated endif +ifndef CONFIG_OPENSSL_WITH_DTLS + OPENSSL_OPTIONS += no-dtls +endif + ifdef CONFIG_OPENSSL_WITH_COMPRESSION OPENSSL_OPTIONS += zlib-dynamic else -- 2.30.2