Parcourir la source

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.
Jouni Malinen il y a 15 ans
Parent
commit
73d0ad78c8
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 1 0
      hostapd/Makefile
  2. 1 0
      wpa_supplicant/Makefile

+ 1 - 0
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

+ 1 - 0
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