mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
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 <j@w1.fi>
This commit is contained in:
parent
77d7b090e0
commit
41014724e2
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user