Android: Sync with SHA256 hostapd makefile updates
[mech_eap.git] / hostapd / Android.mk
index 68ef624..3dc3d80 100644 (file)
@@ -720,6 +720,7 @@ endif
 endif
 
 ifdef NEED_SHA256
+L_CFLAGS += -DCONFIG_SHA256
 ifneq ($(CONFIG_TLS), openssl)
 OBJS += src/crypto/sha256.c
 endif
@@ -727,6 +728,9 @@ OBJS += src/crypto/sha256-prf.c
 ifdef CONFIG_INTERNAL_SHA256
 OBJS += src/crypto/sha256-internal.c
 endif
+ifdef NEED_TLS_PRF_SHA256
+OBJS += ../src/crypto/sha256-tlsprf.c
+endif
 endif
 
 ifdef NEED_DH_GROUPS