aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-12-18 13:16:00 (GMT)
committerJouni Malinen <j@w1.fi>2012-12-18 13:16:00 (GMT)
commit41014724e24d8ce8b88c733b20259698807aa652 (patch)
tree68b8d77f886ea6f3abf2a9c519b068fbd23e5065 /wpa_supplicant/Android.mk
parent77d7b090e05fda06de6541da600175bcab799025 (diff)
downloadhostap-41014724e24d8ce8b88c733b20259698807aa652.zip
hostap-41014724e24d8ce8b88c733b20259698807aa652.tar.gz
hostap-41014724e24d8ce8b88c733b20259698807aa652.tar.bz2
Fix CONFIG_NO_WPA build with TLS
The SHA1 and MD5 functions need to be included in builds that use TLS even if WPA support is removed. 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 7fdeb04..5ff908a 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -846,7 +846,11 @@ NEED_DES=y
# Shared TLS functions (needed for EAP_TLS, EAP_PEAP, EAP_TTLS, and EAP_FAST)
OBJS += src/eap_peer/eap_tls_common.c
OBJS_h += src/eap_server/eap_server_tls_common.c
+ifndef CONFIG_FIPS
NEED_TLS_PRF=y
+NEED_SHA1=y
+NEED_MD5=y
+endif
endif
ifndef CONFIG_TLS