Function s2n_tls_sys::s2n_offered_psk_list_has_next

source ·
pub unsafe extern "C" fn s2n_offered_psk_list_has_next(
    psk_list: *mut s2n_offered_psk_list
) -> bool
Expand description

Checks whether the offered PSK list has an offered psk object next in line in the list. An offered PSK list contains all the PSKs offered by the client for the server to select.

§Safety

This API returns a pointer to the s2n-tls internal memory with limited lifetime. After the completion of s2n_psk_selection_callback this pointer is invalid.

@param psk_list A pointer to the offered PSK list being read. @returns bool A boolean value representing whether an offered psk object is present next in line in the offered PSK list.