]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix internal crypto build with some configurations
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 24 Nov 2009 08:24:54 +0000 (10:24 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 24 Nov 2009 08:24:54 +0000 (10:24 +0200)
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.

hostapd/Makefile
wpa_supplicant/Makefile

index 37d76fc0dd7232519ac13c3dee0c107971fb8011..a9d4867f1928c0520ef7c05abbccead221ed48a2 100644 (file)
@@ -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
index 19621ecf26ac235f827cf6e969085f52f218e7a6..de86e0348f999e6134b65528e4a2c259a1136596 100644 (file)
@@ -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