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