pub unsafe extern "C" fn s2n_connection_get_selected_digest_algorithm(
    conn: *mut s2n_connection,
    chosen_alg: *mut Type
) -> c_int
Expand description

Get the connection’s selected digest algorithm.

@param conn A pointer to the s2n_connection object @param chosen_alg A pointer to a s2n_tls_hash_algorithm object. This is an output parameter.

@returns S2N_SUCCESS on success. S2N_FAILURE if bad parameters are received.