]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
hostapd: Define CONFIG_SHA256 for SHA256 builds
authorJouni Malinen <j@w1.fi>
Sun, 27 Nov 2011 19:05:10 +0000 (21:05 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 27 Nov 2011 19:10:06 +0000 (21:10 +0200)
wpa_supplicant was already doing this and hostapd will need to define
this for future additions.

Signed-hostap: Jouni Malinen <j@w1.fi>

hostapd/Makefile

index e46561e709f646d5317e0662515f993af0e41cad..75767aee7494a74a7541d4fa6860d8d4924b6541 100644 (file)
@@ -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