pub unsafe extern "C" fn s2n_client_hello_get_session_id_length(
ch: *mut s2n_client_hello,
out_length: *mut u32
) -> c_int
Expand description
Get the the ClientHello session id length in bytes
ch
is a pointer to the s2n_client_hello
of the s2n_connection
which can be obtained using s2n_connection_get_client_hello().
@param ch A pointer to the Client Hello @param out_length An out pointer. s2n will set it’s value to the size of the session_id in bytes. @returns S2N_SUCCESS on success. S2N_FAILURE on failure