Merge branch 'bugfix/esp_tls_const_bytes_field_v3.1' into 'release/v3.1'

esp_tls: Make cacert_pem_bytes field a mutable integer

See merge request idf/esp-idf!4529
This commit is contained in:
Ivan Grokhotkov
2019-03-20 16:09:32 +08:00

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