From: Jouni Malinen Date: Thu, 16 Aug 2012 16:58:15 +0000 (+0300) Subject: FIPS: Do not build md5-non-fips.o unless really needed X-Git-Tag: hostap_2_0~405 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=271dbf1594bea461ea2ea7946a773a30bfa254aa;p=thirdparty%2Fhostap.git FIPS: Do not build md5-non-fips.o unless really needed This is not needed anymore when using OpenSSL keying exporter functionality for PRF. Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index d7419d765..388267e9b 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -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