Function s2n_tls_sys::s2n_config_wipe_trust_store
source · pub unsafe extern "C" fn s2n_config_wipe_trust_store(
config: *mut s2n_config
) -> c_int
Expand description
Clear the trust store.
Note that the trust store will be initialized with the common locations for
the host operating system by default. To completely override those locations,
call this before functions like s2n_config_set_verification_ca_location()
or s2n_config_add_pem_to_trust_store()
@param config The configuration object being updated
@returns 0 on success and -1 on error