From: Jouni Malinen Date: Fri, 20 Mar 2015 12:56:31 +0000 (+0200) Subject: Fix hlr_auc_gw build with OpenSSL X-Git-Tag: hostap_2_5~948 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e115b86928000475b734a4345862afe11d6352;p=thirdparty%2Fhostap.git Fix hlr_auc_gw build with OpenSSL Commit 983c6a606bc839248ea0c69090e60c095a655bc6 ('OpenSSL: Replace internal HMAC-MD5 implementation') forgot to make inclusion of md5.o conditional for hlr_auc_gw build. Signed-off-by: Jouni Malinen --- diff --git a/hostapd/Android.mk b/hostapd/Android.mk index 5c69bd1e9..54b139cae 100644 --- a/hostapd/Android.mk +++ b/hostapd/Android.mk @@ -795,8 +795,10 @@ OBJS += src/crypto/random.c HOBJS += src/crypto/random.c HOBJS += src/utils/eloop.c HOBJS += $(SHA1OBJS) +ifneq ($(CONFIG_TLS), openssl) HOBJS += src/crypto/md5.c endif +endif ifdef CONFIG_RADIUS_SERVER L_CFLAGS += -DRADIUS_SERVER diff --git a/hostapd/Makefile b/hostapd/Makefile index 520ae8925..d718c15ea 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -792,8 +792,10 @@ OBJS += ../src/crypto/random.o HOBJS += ../src/crypto/random.o HOBJS += ../src/utils/eloop.o HOBJS += $(SHA1OBJS) +ifneq ($(CONFIG_TLS), openssl) HOBJS += ../src/crypto/md5.o endif +endif ifdef CONFIG_RADIUS_SERVER CFLAGS += -DRADIUS_SERVER