]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FIPS: Do not build md5-non-fips.o unless really needed
authorJouni Malinen <j@w1.fi>
Thu, 16 Aug 2012 16:58:15 +0000 (19:58 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 16 Aug 2012 16:58:15 +0000 (19:58 +0300)
This is not needed anymore when using OpenSSL keying exporter
functionality for PRF.

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/Makefile

index d7419d7658f6be4043390ba46a1504c297006f5c..388267e9b2f0530bbade6bb2e086ca088fd10cfb 100644 (file)
@@ -1107,8 +1107,10 @@ ifdef CONFIG_INTERNAL_MD5
 MD5OBJS += ../src/crypto/md5-internal.o
 endif
 ifdef CONFIG_FIPS
+ifdef NEED_TLS_PRF
 MD5OBJS += ../src/crypto/md5-non-fips.o
 endif
+endif
 OBJS += $(MD5OBJS)
 OBJS_p += $(MD5OBJS)
 endif