mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
wifi_prov: Fix build issue when building only for sec1
or sec2
This commit is contained in:
parent
fcb98e5851
commit
9d905d18bb
@ -201,7 +201,7 @@ typedef enum wifi_prov_security {
|
||||
* + proof of possession (pop) based authentication
|
||||
* + AES-CTR encryption
|
||||
*/
|
||||
WIFI_PROV_SECURITY_1,
|
||||
WIFI_PROV_SECURITY_1 = 1,
|
||||
#endif
|
||||
#ifdef CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
|
||||
/**
|
||||
@ -209,7 +209,7 @@ typedef enum wifi_prov_security {
|
||||
* SRP6a based authentication and key exchange
|
||||
* + AES-GCM encryption/decryption
|
||||
*/
|
||||
WIFI_PROV_SECURITY_2
|
||||
WIFI_PROV_SECURITY_2 = 2
|
||||
#endif
|
||||
} wifi_prov_security_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user