Function esp_idf_hal::sys::esp_crt_bundle_attach
source ยท pub unsafe extern "C" fn esp_crt_bundle_attach(
conf: *mut c_void,
) -> i32
Expand description
@brief Attach and enable use of a bundle for certificate verification
Attach and enable use of a bundle for certificate verification through a verification callback. If no specific bundle has been set through esp_crt_bundle_set() it will default to the bundle defined in menuconfig and embedded in the binary.
@param[in] conf The config struct for the SSL connection.
@return - ESP_OK if adding certificates was successful. - Other if an error occured or an action must be taken by the calling process.