[openwrt/openwrt] wolfssl: make WOLFSSL_HAS_OPENVPN default to y

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 8 17:12:32 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d55f12cc7925b7d84af80015cbeb0422dd7e0b36

commit d55f12cc7925b7d84af80015cbeb0422dd7e0b36
Author: Eneas U de Queiroz <cotequeiroz at gmail.com>
AuthorDate: Wed Jun 8 20:30:39 2022 -0300

    wolfssl: make WOLFSSL_HAS_OPENVPN default to y
    
    Openvpn forces CONFIG_WOLFSSL_HAS_OPENVPN=y.  When the phase1 bots build
    the now non-shared package, openvpn will not be selected, and WolfSSL
    will be built without it.  Then phase2 bots have CONFIG_ALL=y, which
    will select openvpn and force CONFIG_WOLFSSL_HAS_OPENVPN=y.  This
    changes the version hash, causing dependency failures, as shared
    packages expect the phase2 hash.
    
    Fixes: #9738
    
    Signed-off-by: Eneas U de Queiroz <cotequeiroz at gmail.com>
---
 package/libs/wolfssl/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/wolfssl/Config.in b/package/libs/wolfssl/Config.in
index f495a90ff6..3d264e7743 100644
--- a/package/libs/wolfssl/Config.in
+++ b/package/libs/wolfssl/Config.in
@@ -53,7 +53,7 @@ config WOLFSSL_HAS_ECC25519
 
 config WOLFSSL_HAS_OPENVPN
 	bool "Include OpenVPN support"
-	default n
+	default y
 
 config WOLFSSL_ALT_NAMES
 	bool "Include SAN (Subject Alternative Name) support"




More information about the lede-commits mailing list