]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add "make fips" for wpa_supplicant builds with OpenSSL
authorJouni Malinen <j@w1.fi>
Thu, 16 Aug 2012 14:53:05 +0000 (17:53 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 16 Aug 2012 14:53:05 +0000 (17:53 +0300)
This can be used for convenience to build wpa_supplicant with OpenSSL
FIPS object module. CONFIG_FIPS=y is expected to be used in
wpa_supplicant/.config when using this option.

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

wpa_supplicant/Makefile

index 4f79f00105d163569294e8afdcc5efd805482b6a..a73b737e96fa291e790e1f87b19064f1f8a99ce1 100644 (file)
@@ -1583,6 +1583,11 @@ test-eap_sim_common: $(TEST_EAP_SIM_COMMON_OBJS)
 
 tests: test-eap_sim_common
 
+FIPSDIR=/usr/local/ssl/fips-2.0
+FIPSLD=$(FIPSDIR)/bin/fipsld
+fips:
+       $(MAKE) CC=$(FIPSLD) FIPSLD_CC="$(CC)"
+
 clean:
        $(MAKE) -C ../src clean
        $(MAKE) -C dbus clean