Function s2n_quic_tls::ffi::s2n_connection_free_handshake
source · pub unsafe extern "C" fn s2n_connection_free_handshake(
conn: *mut s2n_connection
) -> i32
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