pub unsafe extern "C" fn s2n_config_set_cert_tiebreak_callback(
    config: *mut s2n_config,
    cert_tiebreak_cb: s2n_cert_tiebreak_callback
) -> c_int
Expand description

Sets the s2n_cert_tiebreak_callback for resolving domain name conflicts. If no callback is set, the first certificate added for a domain name will always be preferred.

@param config The configuration object being updated @param cert_tiebreak_cb The pointer to the certificate tiebreak function

@returns S2N_SUCCESS on success. S2N_FAILURE on failure