From: Jouni Malinen Date: Sun, 27 Nov 2011 19:05:10 +0000 (+0200) Subject: hostapd: Define CONFIG_SHA256 for SHA256 builds X-Git-Tag: aosp-jb-start~259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90cba4e7ab0b1146f7482a6f0542827ff238acd0;p=thirdparty%2Fhostap.git 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 --- diff --git a/hostapd/Makefile b/hostapd/Makefile index e46561e70..75767aee7 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