wifi_prov: Fix build issue when building only for sec1 or sec2

This commit is contained in:
Laukik Hase
2023-05-23 11:45:23 +05:30
parent fcb98e5851
commit 9d905d18bb

View File

@@ -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;