Function s2n_tls_sys::s2n_connection_free_handshake

source ·
pub unsafe extern "C" fn s2n_connection_free_handshake(
    conn: *mut s2n_connection
) -> c_int
Expand description

Wipes and releases buffers and memory allocated during the TLS handshake.

@note This function should be called after the handshake is successfully negotiated and logging or recording of handshake data is complete.

@param conn A pointer to the s2n_connection object @returns S2N_SUCCESS on success. S2N_FAILURE on failure