aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-08-28 22:20:18 -1000
committerDaniel Golle <daniel@makrotopia.org>2020-08-31 10:19:31 +0100
commit367c23740fc81a7e497b765a1c0fcf46b4de1110 (patch)
tree6648b32033684854315c605155ed78b7120a67e3 /package/libs
parent9ee27c232e45e337d7068dd84262c525ef80c254 (diff)
downloadupstream-367c23740fc81a7e497b765a1c0fcf46b4de1110.tar.gz
upstream-367c23740fc81a7e497b765a1c0fcf46b4de1110.tar.bz2
upstream-367c23740fc81a7e497b765a1c0fcf46b4de1110.zip
wolfssl: add certgen config option
The option allows to generate certificates. Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'package/libs')
-rw-r--r--package/libs/wolfssl/Config.in4
-rw-r--r--package/libs/wolfssl/Makefile3
2 files changed, 6 insertions, 1 deletions
diff --git a/package/libs/wolfssl/Config.in b/package/libs/wolfssl/Config.in
index 4ac69f821a..c2f66589e6 100644
--- a/package/libs/wolfssl/Config.in
+++ b/package/libs/wolfssl/Config.in
@@ -16,6 +16,10 @@ config WOLFSSL_HAS_ARC4
bool "Include ARC4 support"
default y
+config WOLFSSL_HAS_CERTGEN
+ bool "Include certificate generation support"
+ default y
+
config WOLFSSL_HAS_TLSV10
bool "Include TLS 1.0 support"
default y
diff --git a/package/libs/wolfssl/Makefile b/package/libs/wolfssl/Makefile
index eb77caee33..1fcca9fc5f 100644
--- a/package/libs/wolfssl/Makefile
+++ b/package/libs/wolfssl/Makefile
@@ -31,7 +31,7 @@ PKG_CONFIG_DEPENDS:=\
CONFIG_WOLFSSL_HAS_DH CONFIG_WOLFSSL_HAS_DTLS \
CONFIG_WOLFSSL_HAS_ECC25519 CONFIG_WOLFSSL_HAS_OCSP \
CONFIG_WOLFSSL_HAS_SESSION_TICKET CONFIG_WOLFSSL_HAS_TLSV10 \
- CONFIG_WOLFSSL_HAS_TLSV13 CONFIG_WOLFSSL_HAS_WPAS
+ CONFIG_WOLFSSL_HAS_TLSV13 CONFIG_WOLFSSL_HAS_WPAS CONFIG_WOLFSSL_HAS_CERTGEN
include $(INCLUDE_DIR)/package.mk
@@ -67,6 +67,7 @@ CONFIGURE_ARGS += \
--disable-jobserver \
--$(if $(CONFIG_IPV6),enable,disable)-ipv6 \
--$(if $(CONFIG_WOLFSSL_HAS_AES_CCM),enable,disable)-aesccm \
+ --$(if $(CONFIG_WOLFSSL_HAS_CERTGEN),enable,disable)-certgen \
--$(if $(CONFIG_WOLFSSL_HAS_CHACHA_POLY),enable,disable)-chacha \
--$(if $(CONFIG_WOLFSSL_HAS_CHACHA_POLY),enable,disable)-poly1305 \
--$(if $(CONFIG_WOLFSSL_HAS_DH),enable,disable)-dh \