mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
wpa_supplicant: Disable TLSv1.2 by default
Some Enterprise Authentication Servers do not support TLS v1.2. Move this option to Menuconfig and disable by default.
This commit is contained in:
@ -112,6 +112,5 @@ target_compile_definitions(${COMPONENT_LIB} PRIVATE
|
|||||||
CONFIG_ECC
|
CONFIG_ECC
|
||||||
CONFIG_IEEE80211W
|
CONFIG_IEEE80211W
|
||||||
CONFIG_WPA3_SAE
|
CONFIG_WPA3_SAE
|
||||||
CONFIG_TLSV12
|
|
||||||
CONFIG_SHA256
|
CONFIG_SHA256
|
||||||
)
|
)
|
||||||
|
@ -6,4 +6,10 @@ menu "Supplicant"
|
|||||||
help
|
help
|
||||||
Select this option to use MbedTLS crypto API's which utilize hardware acceleration.
|
Select this option to use MbedTLS crypto API's which utilize hardware acceleration.
|
||||||
|
|
||||||
|
config WPA_TLS_V12
|
||||||
|
bool "Enable TLS v1.2"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Select this to enable TLS v1.2 for WPA2-Enterprise Authentication.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -21,4 +21,8 @@
|
|||||||
#define USE_MBEDTLS_CRYPTO 1
|
#define USE_MBEDTLS_CRYPTO 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_WPA_TLS_V12
|
||||||
|
#define CONFIG_TLSV12
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _SUPPLICANT_OPT_H */
|
#endif /* _SUPPLICANT_OPT_H */
|
||||||
|
Reference in New Issue
Block a user