mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
wifi_prov: Fix build issue when building only for sec1
or sec2
This commit is contained in:
@@ -201,7 +201,7 @@ typedef enum wifi_prov_security {
|
|||||||
* + proof of possession (pop) based authentication
|
* + proof of possession (pop) based authentication
|
||||||
* + AES-CTR encryption
|
* + AES-CTR encryption
|
||||||
*/
|
*/
|
||||||
WIFI_PROV_SECURITY_1,
|
WIFI_PROV_SECURITY_1 = 1,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
|
#ifdef CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
|
||||||
/**
|
/**
|
||||||
@@ -209,7 +209,7 @@ typedef enum wifi_prov_security {
|
|||||||
* SRP6a based authentication and key exchange
|
* SRP6a based authentication and key exchange
|
||||||
* + AES-GCM encryption/decryption
|
* + AES-GCM encryption/decryption
|
||||||
*/
|
*/
|
||||||
WIFI_PROV_SECURITY_2
|
WIFI_PROV_SECURITY_2 = 2
|
||||||
#endif
|
#endif
|
||||||
} wifi_prov_security_t;
|
} wifi_prov_security_t;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user