From 596b83fe158ffe3353454742b5c1863f265ac4ef Mon Sep 17 00:00:00 2001 From: Laukik Hase Date: Tue, 23 May 2023 11:45:23 +0530 Subject: [PATCH] wifi_prov: Fix build issue when building only for `sec1` or `sec2` --- .../wifi_provisioning/include/wifi_provisioning/manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/wifi_provisioning/include/wifi_provisioning/manager.h b/components/wifi_provisioning/include/wifi_provisioning/manager.h index 7d1f12f352..72c6d6d50b 100644 --- a/components/wifi_provisioning/include/wifi_provisioning/manager.h +++ b/components/wifi_provisioning/include/wifi_provisioning/manager.h @@ -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;