[openwrt/openwrt] wolfssl: WOLFSSL_HAS_WPAS requires WOLFSSL_HAS_DH

LEDE Commits lede-commits at lists.infradead.org
Wed Jul 20 11:13:15 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/a12eb71c881a4cf041f05612efd7282ef0b9c8b6

commit a12eb71c881a4cf041f05612efd7282ef0b9c8b6
Author: Pascal Ernster <git at hardfalcon.net>
AuthorDate: Wed Jan 20 02:01:37 2021 +0100

    wolfssl: WOLFSSL_HAS_WPAS requires WOLFSSL_HAS_DH
    
    Without this, WOLFSSL_HAS_DH can be disabled even if WOLFSSL_HAS_WPAS is
    enabled, resulting in an "Anonymous suite requires DH" error when trying
    to compile wolfssl.
    
    Signed-off-by: Pascal Ernster <git at hardfalcon.net>
    Reviewed-by: Eneas U de Queiroz <cotequeiroz at gmail.com>
    (cherry picked from commit 21825af2dad0070affc2444ff56dc84a976945a2)
---
 package/libs/wolfssl/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libs/wolfssl/Config.in b/package/libs/wolfssl/Config.in
index 3d264e7743..56e968f6ed 100644
--- a/package/libs/wolfssl/Config.in
+++ b/package/libs/wolfssl/Config.in
@@ -43,6 +43,7 @@ config WOLFSSL_HAS_OCSP
 config WOLFSSL_HAS_WPAS
 	bool "Include wpa_supplicant support"
 	select WOLFSSL_HAS_ARC4
+	select WOLFSSL_HAS_DH
 	select WOLFSSL_HAS_OCSP
 	select WOLFSSL_HAS_SESSION_TICKET
 	default y




More information about the lede-commits mailing list