Function s2n_tls_sys::s2n_config_set_psk_mode

source ·
pub unsafe extern "C" fn s2n_config_set_psk_mode(
    config: *mut s2n_config,
    mode: Type
) -> c_int
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.