esp_http_client: add support for using certs from global ca store

Closes https://github.com/espressif/esp-idf/issues/3062
This commit is contained in:
Mahavir Jain
2019-02-20 12:48:45 +05:30
parent 42f64e9a93
commit 27e00cf7aa
5 changed files with 21 additions and 3 deletions

View File

@@ -117,6 +117,7 @@ typedef struct {
int buffer_size; /*!< HTTP buffer size (both send and receive) */
void *user_data; /*!< HTTP user_data context */
bool is_async; /*!< Set asynchronous mode, only supported with HTTPS for now */
bool use_global_ca_store; /*!< Use a global ca_store for all the connections in which this bool is set. */
} esp_http_client_config_t;