Function s2n_tls_sys::s2n_config_set_alert_behavior
source · pub unsafe extern "C" fn s2n_config_set_alert_behavior(
config: *mut s2n_config,
alert_behavior: Type
) -> c_int
Expand description
Sets the config’s alert behavior based on the s2n_alert_behavior
enum.
@param config The configuration object being updated @param alert_behavior The desired alert behavior. @returns S2N_SUCCESS on success. S2N_FAILURE on failure