client: added config option to enable global ca strore

closes https://github.com/espressif/esp-mqtt/issues/125
This commit is contained in:
David Cermak
2019-08-23 14:33:35 +02:00
parent 1134cb234c
commit 0234f6e538
2 changed files with 9 additions and 4 deletions

View File

@@ -122,6 +122,7 @@ typedef struct {
esp_mqtt_transport_t transport; /*!< overrides URI transport */
int refresh_connection_after_ms; /*!< Refresh connection after this value (in milliseconds) */
const struct psk_key_hint* psk_hint_key; /*!< Pointer to PSK struct defined in esp_tls.h to enable PSK authentication (as alternative to certificate verification). If not NULL and server/client certificates are NULL, PSK is enabled */
bool use_global_ca_store; /*!< Use a global ca_store for all the connections in which this bool is set. */
} esp_mqtt_client_config_t;
/**