From: Jouni Malinen Date: Tue, 18 Dec 2012 13:16:00 +0000 (+0200) Subject: Fix CONFIG_NO_WPA build with TLS X-Git-Tag: hostap_2_0~45 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=commitdiff_plain;h=41014724e24d8ce8b88c733b20259698807aa652 Fix CONFIG_NO_WPA build with TLS The SHA1 and MD5 functions need to be included in builds that use TLS even if WPA support is removed. Signed-hostap: Jouni Malinen --- diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 7fdeb04..5ff908a 100644 --- a/wpa_supplicant/Android.mk +++ b/wpa_supplicant/Android.mk @@ -846,7 +846,11 @@ NEED_DES=y # Shared TLS functions (needed for EAP_TLS, EAP_PEAP, EAP_TTLS, and EAP_FAST) OBJS += src/eap_peer/eap_tls_common.c OBJS_h += src/eap_server/eap_server_tls_common.c +ifndef CONFIG_FIPS NEED_TLS_PRF=y +NEED_SHA1=y +NEED_MD5=y +endif endif ifndef CONFIG_TLS diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index 52962d1..65fef41 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -859,6 +859,8 @@ OBJS += ../src/eap_peer/eap_tls_common.o OBJS_h += ../src/eap_server/eap_server_tls_common.o ifndef CONFIG_FIPS NEED_TLS_PRF=y +NEED_SHA1=y +NEED_MD5=y endif endif