From 577072b11670a9957782abf93a6afd950565b6d6 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 16 Aug 2009 19:00:49 +0300 Subject: [PATCH] Fix FIPS mode build of eapol_test --- wpa_supplicant/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index e10f299cd..219c5c404 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1007,6 +1007,11 @@ ifdef CONFIG_DELAYED_MIC_ERROR_REPORT CFLAGS += -DCONFIG_DELAYED_MIC_ERROR_REPORT endif +ifdef CONFIG_FIPS +CFLAGS += -DCONFIG_FIPS +MD5OBJS += ../src/crypto/md5-non-fips.o +endif + OBJS += ../src/drivers/scan_helpers.o OBJS += $(SHA1OBJS) $(DESOBJS) @@ -1066,11 +1071,6 @@ OBJS += $(OBJS_d) ../src/drivers/drivers.o OBJS += $(OBJS_l2) endif -ifdef CONFIG_FIPS -CFLAGS += -DCONFIG_FIPS -MD5OBJS += ../src/crypto/md5-non-fips.o -endif - ifdef CONFIG_NDIS_EVENTS_INTEGRATED CFLAGS += -DCONFIG_NDIS_EVENTS_INTEGRATED OBJS += ../src/drivers/ndis_events.o