aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-01-27 11:26:01 (GMT)
committerJouni Malinen <j@w1.fi>2015-01-28 11:09:31 (GMT)
commit983c6a606bc839248ea0c69090e60c095a655bc6 (patch)
tree3001e9ddb8dfdca7cb05c316b7cd2aec3a8826e6 /hostapd/Android.mk
parent3f56a2b7460a57a2b68b48b936be134bf04aa36d (diff)
downloadhostap-983c6a606bc839248ea0c69090e60c095a655bc6.zip
hostap-983c6a606bc839248ea0c69090e60c095a655bc6.tar.gz
hostap-983c6a606bc839248ea0c69090e60c095a655bc6.tar.bz2
OpenSSL: Replace internal HMAC-MD5 implementation
Use OpenSSL HMAC_* functions to implement HMAC-MD5 instead of depending on the src/crypto/md5.c implementation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index c8ef46b..17674f7 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -181,8 +181,6 @@ OBJS += ctrl_iface.c
OBJS += src/ap/ctrl_iface_ap.c
endif
-OBJS += src/crypto/md5.c
-
L_CFLAGS += -DCONFIG_CTRL_IFACE -DCONFIG_CTRL_IFACE_UNIX
ifdef CONFIG_IAPP
@@ -735,6 +733,10 @@ ifdef NEED_SHA1
OBJS += $(SHA1OBJS)
endif
+ifneq ($(CONFIG_TLS), openssl)
+OBJS += src/crypto/md5.c
+endif
+
ifdef NEED_MD5
ifdef CONFIG_INTERNAL_MD5
OBJS += src/crypto/md5-internal.c