Function s2n_tls_sys::s2n_config_set_ctx

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

Sets user defined context on the s2n_config object.

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