Function s2n_tls_sys::s2n_offered_psk_new
source · pub unsafe extern "C" fn s2n_offered_psk_new() -> *mut s2n_offered_psk
Expand description
Creates a new s2n offered PSK object. An offered PSK object represents a single PSK sent by the client.
§Safety
Use s2n_offered_psk_free
to free the memory allocated to the s2n offered PSK object created by this API.
@returns struct s2n_offered_psk* Returns a pointer to the newly created offered PSK object.