diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk index 7fdeb0478..5ff908a74 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 52962d145..65fef4165 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