Fix FIPS mode build of eapol_test

This commit is contained in:
Jouni Malinen 2009-08-16 19:00:49 +03:00
parent ff916b9df7
commit 577072b116

View File

@ -1007,6 +1007,11 @@ ifdef CONFIG_DELAYED_MIC_ERROR_REPORT
CFLAGS += -DCONFIG_DELAYED_MIC_ERROR_REPORT CFLAGS += -DCONFIG_DELAYED_MIC_ERROR_REPORT
endif endif
ifdef CONFIG_FIPS
CFLAGS += -DCONFIG_FIPS
MD5OBJS += ../src/crypto/md5-non-fips.o
endif
OBJS += ../src/drivers/scan_helpers.o OBJS += ../src/drivers/scan_helpers.o
OBJS += $(SHA1OBJS) $(DESOBJS) OBJS += $(SHA1OBJS) $(DESOBJS)
@ -1066,11 +1071,6 @@ OBJS += $(OBJS_d) ../src/drivers/drivers.o
OBJS += $(OBJS_l2) OBJS += $(OBJS_l2)
endif endif
ifdef CONFIG_FIPS
CFLAGS += -DCONFIG_FIPS
MD5OBJS += ../src/crypto/md5-non-fips.o
endif
ifdef CONFIG_NDIS_EVENTS_INTEGRATED ifdef CONFIG_NDIS_EVENTS_INTEGRATED
CFLAGS += -DCONFIG_NDIS_EVENTS_INTEGRATED CFLAGS += -DCONFIG_NDIS_EVENTS_INTEGRATED
OBJS += ../src/drivers/ndis_events.o OBJS += ../src/drivers/ndis_events.o