Function s2n_tls_sys::s2n_cleanup
source · pub unsafe extern "C" fn s2n_cleanup() -> c_int
Expand description
Cleans up any internal resources used by s2n-tls. This function should be called from each thread or process
that is created subsequent to calling s2n_init
when that thread or process is done calling other s2n-tls functions.
@returns S2N_SUCCESS on success. S2N_FAILURE on failure