From 90cba4e7ab0b1146f7482a6f0542827ff238acd0 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 27 Nov 2011 21:05:10 +0200 Subject: [PATCH] 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 --- hostapd/Makefile | 1 + 1 file changed, 1 insertion(+) 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