Fix FIPS mode build of eapol_test
authorJouni Malinen <j@w1.fi>
Sun, 16 Aug 2009 16:00:49 +0000 (19:00 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 16 Aug 2009 16:00:49 +0000 (19:00 +0300)
wpa_supplicant/Makefile

index e10f299..219c5c4 100644 (file)
@@ -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