aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-16 18:49:41 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-16 18:49:41 (GMT)
commit982bafedaf02eb96cb965080b483058269ddf4c5 (patch)
treee6fd651bbe615013562a4940ac1643c967b6dae4 /wpa_supplicant/Android.mk
parent105f5881d5e5fb1a3e53de60dc5ecb80b1efb301 (diff)
downloadhostap-982bafedaf02eb96cb965080b483058269ddf4c5.zip
hostap-982bafedaf02eb96cb965080b483058269ddf4c5.tar.gz
hostap-982bafedaf02eb96cb965080b483058269ddf4c5.tar.bz2
FIPS: Mix in OpenSSL RAND_bytes() into random_get_bytes()
Make sure that the OpenSSL DRBG gets used when generating random numbers in FIPS mode. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 7ed7fc0..25d262d 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -68,6 +68,10 @@ ifdef CONFIG_DRIVER_NL80211
INCLUDES += external/libnl-headers
endif
+ifdef CONFIG_FIPS
+CONFIG_NO_RANDOM_POOL=
+endif
+
OBJS = config.c
OBJS += notify.c
OBJS += bss.c