From 6fbf2675e644fb2277f19f5610e2fb0f92f1ee39 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Mon, 18 Mar 2019 16:35:00 +1100 Subject: [PATCH] esp_tls: Make cacert_pem_bytes field a mutable integer Ref https://esp32.com/viewtopic.php?f=2&t=9737&p=40278#p40277 --- components/esp-tls/esp_tls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp-tls/esp_tls.h b/components/esp-tls/esp_tls.h index 92b0734eb..d5d30c38c 100644 --- a/components/esp-tls/esp_tls.h +++ b/components/esp-tls/esp_tls.h @@ -48,7 +48,7 @@ typedef struct esp_tls_cfg { const unsigned char *cacert_pem_buf; /*!< Certificate Authority's certificate in a buffer */ - const unsigned int cacert_pem_bytes; /*!< Size of Certificate Authority certificate + unsigned int cacert_pem_bytes; /*!< Size of Certificate Authority certificate pointed to by cacert_pem_buf */ bool non_block; /*!< Configure non-blocking mode. If set to true the