]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
EAP-pwd: Do not include MS_FUNCS in CONFIG_FIPS=y builds
authorJouni Malinen <j@w1.fi>
Sat, 1 Mar 2025 18:44:06 +0000 (20:44 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 1 Mar 2025 18:44:06 +0000 (20:44 +0200)
MS_FUNCS needs MD4 and that is not available with CONFIG_FIPS=y.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/Android.mk
wpa_supplicant/Makefile

index 82388bc6e0b48b4abb5e6e8ced1eff8242a1cf24..cb07e7364352e2fa0128d6be1ce1776716ee85bd 100644 (file)
@@ -773,8 +773,10 @@ OBJS += src/eap_peer/eap_pwd.c src/eap_common/eap_pwd_common.c
 CONFIG_IEEE8021X_EAPOL=y
 NEED_ECC=y
 NEED_DRAGONFLY=y
+ifndef CONFIG_FIPS
 MS_FUNCS=y
 endif
+endif
 
 ifdef CONFIG_EAP_EKE
 # EAP-EKE
index bf9875e6ddfae726b126c7db197ab8a6272f9e8a..fd7d7a0bd00446a3c598347240fcd7b81856bf76 100644 (file)
@@ -828,8 +828,10 @@ OBJS += ../src/eap_peer/eap_pwd.o ../src/eap_common/eap_pwd_common.o
 CONFIG_IEEE8021X_EAPOL=y
 NEED_ECC=y
 NEED_DRAGONFLY=y
+ifndef CONFIG_FIPS
 MS_FUNCS=y
 endif
+endif
 
 ifdef CONFIG_EAP_EKE
 # EAP-EKE