Fix AES dependencies for CONFIG_AP=y (and IBSS) builds

This commit is contained in:
Jouni Malinen 2009-10-13 11:16:05 +03:00 committed by Jouni Malinen
parent 35deb646cc
commit 3afe7b61e0

View File

@ -149,6 +149,7 @@ ifdef CONFIG_IBSS_RSN
CFLAGS += -DCONFIG_IBSS_RSN
OBJS += ibss_rsn.o
OBJS += ../hostapd/wpa.o
NEED_AES_WRAP=y
OBJS += ../hostapd/wpa_auth_ie.o
OBJS += ../hostapd/pmksa_cache.o
OBJS += ../src/radius/radius.o
@ -574,6 +575,7 @@ OBJS += ../hostapd/config.o
OBJS += ../src/utils/ip_addr.o
OBJS += ../hostapd/sta_info.o
OBJS += ../hostapd/wpa.o
NEED_AES_WRAP=y
OBJS += ../hostapd/pmksa_cache.o
OBJS += ../hostapd/wpa_auth_ie.o
OBJS += ../hostapd/tkip_countermeasures.o
@ -892,6 +894,7 @@ NEED_AES_ENC=y
AESOBJS += ../src/crypto/aes-omac1.o
endif
ifdef NEED_AES_WRAP
NEED_AES_ENC=y
AESOBJS += ../src/crypto/aes-wrap.o
endif
ifdef NEED_AES_CBC