From: Jouni Malinen Date: Tue, 24 Nov 2009 08:24:54 +0000 (+0200) Subject: Fix internal crypto build with some configurations X-Git-Tag: hostap_0_7_1~483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d0ad78c8d192a57095ecbfae0185813a05b8b9;p=thirdparty%2Fhostap.git Fix internal crypto build with some configurations crypto_internal.c requires both aes-internal-enc.o and aes-internal-dec.o, so make sure they get included in the build when using internal crypto. --- diff --git a/hostapd/Makefile b/hostapd/Makefile index 37d76fc0d..a9d4867f1 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -472,6 +472,7 @@ endif ifeq ($(CONFIG_CRYPTO), internal) CFLAGS += -DCONFIG_INTERNAL_X509 OBJS += ../src/crypto/crypto_internal.o +NEED_AES_DEC=y CFLAGS += -DCONFIG_CRYPTO_INTERNAL ifdef CONFIG_INTERNAL_LIBTOMMATH CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 19621ecf2..de86e0348 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -823,6 +823,7 @@ ifeq ($(CONFIG_CRYPTO), internal) CFLAGS += -DCONFIG_INTERNAL_X509 OBJS += ../src/crypto/crypto_internal.o OBJS_p += ../src/crypto/crypto_internal.o +NEED_AES_ENC=y CFLAGS += -DCONFIG_CRYPTO_INTERNAL ifdef CONFIG_INTERNAL_LIBTOMMATH CFLAGS += -DCONFIG_INTERNAL_LIBTOMMATH