esp_tls: Make cacert_pem_bytes field a mutable integer

Ref https://esp32.com/viewtopic.php?f=2&t=9737&p=40278#p40277
This commit is contained in:
Angus Gratton 2019-03-18 16:35:00 +11:00 committed by bot
parent f97748d46f
commit 6fbf2675e6

View file

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