aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/openssl/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2016-09-26 13:00:04 -0700
committerJohn Crispin <john@phrozen.org>2016-09-27 17:50:22 +0200
commitc0b15b307201ddeeaf01aa4d6c85cdefbade035f (patch)
tree5bd5013bcfd70058d2df2368e9e9443a80480083 /package/libs/openssl/Makefile
parentaaa067ab0b3cfd6d26f976e2e5e43ac15a8f0ee6 (diff)
downloadupstream-c0b15b307201ddeeaf01aa4d6c85cdefbade035f.tar.gz
upstream-c0b15b307201ddeeaf01aa4d6c85cdefbade035f.tar.bz2
upstream-c0b15b307201ddeeaf01aa4d6c85cdefbade035f.zip
openssl: Make DTLS configurable.
Signed-off by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/libs/openssl/Makefile')
-rw-r--r--package/libs/openssl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/libs/openssl/Makefile b/package/libs/openssl/Makefile
index 0df6f3edb6..a41686fd9b 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