pub unsafe extern "C" fn esp_tls_get_global_ca_store(
) -> *mut mbedtls_x509_crt
Expand description

@brief Get the pointer to the global CA store currently being used.

The application must first call esp_tls_set_global_ca_store(). Then the same CA store could be used by the application for APIs other than esp_tls.

@note Modifying the pointer might cause a failure in verifying the certificates.

@return - Pointer to the global CA store currently being used if successful. - NULL if there is no global CA store set.