diff --git a/components/esp-tls/esp_tls.h b/components/esp-tls/esp_tls.h index c29039f9aa..7fb76370bb 100644 --- a/components/esp-tls/esp_tls.h +++ b/components/esp-tls/esp_tls.h @@ -49,7 +49,7 @@ typedef enum esp_tls_role { */ typedef struct psk_key_hint { const uint8_t* key; /*!< key in PSK authentication mode in binary format */ - const size_t key_size; /*!< length of the key */ + size_t key_size; /*!< length of the key */ const char* hint; /*!< hint in PSK authentication mode in string format */ } psk_hint_key_t;