aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-16 17:38:25 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-16 17:38:25 (GMT)
commit030d062facf3acb490c442033b437aa99aa31aca (patch)
tree57534cb61453aa3d403e8c6ad1cae58c1419044f /wpa_supplicant/Android.mk
parentd6150094e0586a437f4a6747d665a2e47ad79b1e (diff)
downloadhostap-030d062facf3acb490c442033b437aa99aa31aca.zip
hostap-030d062facf3acb490c442033b437aa99aa31aca.tar.gz
hostap-030d062facf3acb490c442033b437aa99aa31aca.tar.bz2
OpenSSL: Implement SHA1 HMAC functions using HMAC API
Use the OpenSSL HMAC implementation instead of the internal sha1.c implementation of HMAC with SHA1. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 5ad2d67..7ed7fc0 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -1054,7 +1054,9 @@ endif
SHA1OBJS =
ifdef NEED_SHA1
+ifneq ($(CONFIG_TLS), openssl)
SHA1OBJS += src/crypto/sha1.c
+endif
SHA1OBJS += src/crypto/sha1-prf.c
ifdef CONFIG_INTERNAL_SHA1
SHA1OBJS += src/crypto/sha1-internal.c