mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1
This commit is contained in:
parent
3d85e81be2
commit
a319ccb552
@ -244,7 +244,7 @@ menu "Wi-Fi"
|
||||
config ESP32_WIFI_ENABLE_WPA3_SAE
|
||||
bool "Enable WPA3-Personal"
|
||||
default y
|
||||
depends on WPA_MBEDTLS_CRYPTO
|
||||
select WPA_MBEDTLS_CRYPTO
|
||||
help
|
||||
Select this option to allow the device to establish a WPA3-Personal connection with eligible AP's.
|
||||
PMF (Protected Management Frames) is a prerequisite feature for a WPA3 connection, it needs to be
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6fd120a997d581bbee290b1c6732c93869feef99
|
||||
Subproject commit ffefe60c4ed6babde69f37456ddf1ea39e395c0a
|
@ -8,6 +8,7 @@ menu "Supplicant"
|
||||
select MBEDTLS_ECDH_C
|
||||
select MBEDTLS_ECDSA_C
|
||||
select MBEDTLS_TLS_ENABLED
|
||||
select MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
help
|
||||
Select this option to use MbedTLS crypto APIs which utilize hardware acceleration.
|
||||
|
||||
|
@ -77,7 +77,6 @@ int sae_set_group(struct sae_data *sae, int group)
|
||||
/* Unsupported group */
|
||||
wpa_printf(MSG_DEBUG,
|
||||
"SAE: Group %d not supported by the crypto library", group);
|
||||
os_free(tmp);
|
||||
return ESP_FAIL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user