aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-08-01 13:53:16 (GMT)
committerJouni Malinen <j@w1.fi>2015-08-01 18:07:44 (GMT)
commit835c89a16bc320b3aeea57d626a4fbc26724316e (patch)
tree185cd5a9685d801ac79ecb6a924f1596ea139cab /wpa_supplicant/Makefile
parent125bbef0e789fa84712dbfa6579e7e5299dfcec0 (diff)
downloadhostap-835c89a16bc320b3aeea57d626a4fbc26724316e.zip
hostap-835c89a16bc320b3aeea57d626a4fbc26724316e.tar.gz
hostap-835c89a16bc320b3aeea57d626a4fbc26724316e.tar.bz2
EAP-TTLS: Disable CHAP, MSCHAP, and MSCHAPV2 in CONFIG_FIPS=y builds
FIPS builds do not include support for MD4/MD5, so disable EAP-TTLS/CHAP, MSCHAP, and MSCHAPV2 when CONFIG_FIPS=y is used. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Makefile')
-rw-r--r--wpa_supplicant/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile
index 8b2d679..49e64f0 100644
--- a/wpa_supplicant/Makefile
+++ b/wpa_supplicant/Makefile
@@ -425,9 +425,11 @@ CFLAGS += -DEAP_TTLS
OBJS += ../src/eap_peer/eap_ttls.o
OBJS_h += ../src/eap_server/eap_server_ttls.o
endif
-MS_FUNCS=y
TLS_FUNCS=y
+ifndef CONFIG_FIPS
+MS_FUNCS=y
CHAP=y
+endif
CONFIG_IEEE8021X_EAPOL=y
endif