aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Makefile
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-27 21:05:10 +0200
committerJouni Malinen <j@w1.fi>2011-11-27 21:10:06 +0200
commit90cba4e7ab0b1146f7482a6f0542827ff238acd0 (patch)
tree161fec251915fe2855750613b1f26124ebdf43f1 /hostapd/Makefile
parentdcff088df74e242f1cea4ecc6f1a5e7178669a48 (diff)
downloadexternal_wpa_supplicant_8_ti-90cba4e7ab0b1146f7482a6f0542827ff238acd0.zip
external_wpa_supplicant_8_ti-90cba4e7ab0b1146f7482a6f0542827ff238acd0.tar.gz
external_wpa_supplicant_8_ti-90cba4e7ab0b1146f7482a6f0542827ff238acd0.tar.bz2
hostapd: Define CONFIG_SHA256 for SHA256 builds
wpa_supplicant was already doing this and hostapd will need to define this for future additions. Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'hostapd/Makefile')
-rw-r--r--hostapd/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile
index e46561e..75767ae 100644
--- a/hostapd/Makefile
+++ b/hostapd/Makefile
@@ -678,6 +678,7 @@ endif
endif
ifdef NEED_SHA256
+CFLAGS += -DCONFIG_SHA256
OBJS += ../src/crypto/sha256.o
ifdef CONFIG_INTERNAL_SHA256
OBJS += ../src/crypto/sha256-internal.o