aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index e7aa3d7..cb33f7f 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -534,7 +534,7 @@ ifdef CONFIG_INTERNAL_SHA1
OBJS += ../src/crypto/sha1-internal.o
endif
ifdef CONFIG_INTERNAL_MD5
-CFLAGS += -DINTERNAL_MD5
+OBJS += ../src/crypto/md5-internal.o
endif
ifdef CONFIG_INTERNAL_MD4
OBJS += ../src/crypto/md4-internal.o
@@ -645,6 +645,9 @@ NOBJS = nt_password_hash.o ../src/crypto/ms_funcs.o ../src/crypto/sha1.o ../src/
ifdef CONFIG_INTERNAL_SHA1
NOBJS += ../src/crypto/sha1-internal.o
endif
+ifdef CONFIG_INTERNAL_MD5
+NOBJS += ../src/crypto/md5-internal.o
+endif
NOBJS += ../src/crypto/crypto_openssl.o ../src/utils/os_$(CONFIG_OS).o
ifdef TLS_FUNCS
LIBS_n += -lcrypto