pub unsafe extern "C" fn s2n_connection_set_cipher_preferences(
    conn: *mut s2n_connection,
    version: *const c_char
) -> c_int
Expand description

Sets the cipher preference override for the s2n_connection. Calling this function is not necessary unless you want to set the cipher preferences on the connection to something different than what is in the s2n_config.

@param conn The connection object being updated @param version The human readable string representation of the security policy version. @returns S2N_SUCCESS on success. S2N_FAILURE on failure