Function s2n_quic::provider::tls::default::ffi::s2n_config_set_psk_mode

source ·
pub unsafe extern "C" fn s2n_config_set_psk_mode(
    config: *mut s2n_config,
    mode: u32
) -> i32
Expand description

Sets the PSK mode on the s2n config object. The supported PSK modes are listed in the enum s2n_psk_mode above.

@param config A pointer to the s2n_config object being updated. @param mode The PSK mode to be set.