wolfssl: WOLFSSL_HAS_WPAS requires WOLFSSL_HAS_DH
authorPascal Ernster <git@hardfalcon.net>
Wed, 20 Jan 2021 01:01:37 +0000 (02:01 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 6 Jul 2022 13:04:26 +0000 (15:04 +0200)
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@hardfalcon.net>
Reviewed-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
package/libs/wolfssl/Config.in

index 901f2b29653a321872f0c014a60a7455ef52276c..c364da033a132bbf0feb7d5534cdc3c7144f8e19 100644 (file)
@@ -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