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>
This commit is contained in:
Jouni Malinen 2011-11-27 21:05:10 +02:00
parent dcff088df7
commit 90cba4e7ab

View File

@ -678,6 +678,7 @@ endif
endif endif
ifdef NEED_SHA256 ifdef NEED_SHA256
CFLAGS += -DCONFIG_SHA256
OBJS += ../src/crypto/sha256.o OBJS += ../src/crypto/sha256.o
ifdef CONFIG_INTERNAL_SHA256 ifdef CONFIG_INTERNAL_SHA256
OBJS += ../src/crypto/sha256-internal.o OBJS += ../src/crypto/sha256-internal.o