Skip to content

Commit

Permalink
simplify s2n_server_key_share_extension_test
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Nov 22, 2024
1 parent 53b3c99 commit 1165746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/s2n_server_key_share_extension_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ int main(int argc, char **argv)
struct s2n_connection *client_conn = NULL;

EXPECT_NOT_NULL(client_conn = s2n_connection_new(S2N_CLIENT));
EXPECT_SUCCESS(s2n_config_set_cipher_preferences(client_conn->config, "default_tls13"));
EXPECT_SUCCESS(s2n_connection_set_cipher_preferences(client_conn, "20240503"));

const struct s2n_ecc_preferences *ecc_pref = NULL;
EXPECT_SUCCESS(s2n_connection_get_ecc_preferences(client_conn, &ecc_pref));
Expand Down

0 comments on commit 1165746

Please sign in to comment.