]> granicus.if.org Git - esp-idf/commit
Feature: Support for global CA store.
authorChirag Atal <chirag.atal@espressif.com>
Thu, 4 Oct 2018 10:35:02 +0000 (16:05 +0530)
committerChirag Atal <chirag.atal@espressif.com>
Fri, 5 Oct 2018 14:05:57 +0000 (19:35 +0530)
commitb7cca3c4143d5978e5f4e06de075f1954806e72a
treebc09401a4c681d8b14106034911f6b0f5577b718
parent3977d4b56555289f828a4d5f5d756b7b69783d53
Feature: Support for global CA store.

Added a new API esp_tls_set_global_ca_store(esp_tls_cfg_t *cfg) which creates a global_cacert which can be used by multiple connections by setting the use_global_ca_store variable to true in their respective structure of esp_tls_cfg_t. Also changed the cacert in the structure of esp_tls_t to a pointer.
components/esp-tls/esp_tls.c
components/esp-tls/esp_tls.h