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 <j@w1.fi>
This commit is contained in:
parent
c9e08af24f
commit
271dbf1594
1 changed files with 2 additions and 0 deletions
|
@ -1107,8 +1107,10 @@ ifdef CONFIG_INTERNAL_MD5
|
||||||
MD5OBJS += ../src/crypto/md5-internal.o
|
MD5OBJS += ../src/crypto/md5-internal.o
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_FIPS
|
ifdef CONFIG_FIPS
|
||||||
|
ifdef NEED_TLS_PRF
|
||||||
MD5OBJS += ../src/crypto/md5-non-fips.o
|
MD5OBJS += ../src/crypto/md5-non-fips.o
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
OBJS += $(MD5OBJS)
|
OBJS += $(MD5OBJS)
|
||||||
OBJS_p += $(MD5OBJS)
|
OBJS_p += $(MD5OBJS)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue