aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-27 19:05:10 (GMT)
committerJouni Malinen <j@w1.fi>2011-11-27 19:10:06 (GMT)
commit90cba4e7ab0b1146f7482a6f0542827ff238acd0 (patch)
tree161fec251915fe2855750613b1f26124ebdf43f1 /hostapd
parentdcff088df74e242f1cea4ecc6f1a5e7178669a48 (diff)
downloadhostap-90cba4e7ab0b1146f7482a6f0542827ff238acd0.zip
hostap-90cba4e7ab0b1146f7482a6f0542827ff238acd0.tar.gz
hostap-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')
-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