Function s2n_tls_sys::s2n_cert_chain_and_key_set_ctx

source ·
pub unsafe extern "C" fn s2n_cert_chain_and_key_set_ctx(
    cert_and_key: *mut s2n_cert_chain_and_key,
    ctx: *mut c_void
) -> c_int
Expand description

Adds a context to the s2n_cert_chain_and_key object.

@param cert_and_key The certificate chain and private key handle @param ctx An opaque pointer to user supplied data. @returns S2N_SUCCESS on success. S2N_FAILURE on failure