From 116574670d5d4311a78cca2a84a78c4e3f127e87 Mon Sep 17 00:00:00 2001 From: Apoorv Kothari Date: Thu, 21 Nov 2024 19:39:02 -0800 Subject: [PATCH] simplify s2n_server_key_share_extension_test --- tests/unit/s2n_server_key_share_extension_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/s2n_server_key_share_extension_test.c b/tests/unit/s2n_server_key_share_extension_test.c index b21a6822882..14292ea0925 100644 --- a/tests/unit/s2n_server_key_share_extension_test.c +++ b/tests/unit/s2n_server_key_share_extension_test.c @@ -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));