Function s2n_tls_sys::s2n_config_get_ctx

source ·
pub unsafe extern "C" fn s2n_config_get_ctx(
    config: *mut s2n_config,
    ctx: *mut *mut c_void
) -> c_int
Expand description

Gets the user defined context from the s2n_config object. The context is set by calling s2n_config_set_ctx()

@param config The configuration object being accessed @param ctx A pointer to the user defined ctx. @returns S2N_SUCCESS on success. S2N_FAILURE on failure