Skip to content

Commit

Permalink
wifi_prov: Fix build issue when building only for sec1 or sec2
Browse files Browse the repository at this point in the history
  • Loading branch information
laukik-hase committed May 23, 2023
1 parent f695c1a commit 596b83f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,15 @@ 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
/**
* This secure communication mode consists of
* SRP6a based authentication and key exchange
* + AES-GCM encryption/decryption
*/
WIFI_PROV_SECURITY_2
WIFI_PROV_SECURITY_2 = 2
#endif
} wifi_prov_security_t;

Expand Down

0 comments on commit 596b83f

Please sign in to comment.