Skip to content

Commit

Permalink
pin ecc selection test to a numbered policy
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Nov 27, 2024
1 parent cf9faf1 commit e44269e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/unit/s2n_client_supported_groups_extension_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,9 @@ int main()
DEFER_CLEANUP(struct s2n_config *config = s2n_config_new(),
s2n_config_ptr_free);
EXPECT_NOT_NULL(config);
/* Since these tests are directly setting security_policy_override, set a
* s2n_config that doesn't support PQ but does support x25519 and TLS 1.3
/* These tests explicitly set security_policy_override to test ECC
* selection logic and expect a s2n_config that does support x25519 and
* TLS 1.3, but does not support PQ.
*/
EXPECT_SUCCESS(s2n_config_set_cipher_preferences(config, "20240503"));

Expand Down

0 comments on commit e44269e

Please sign in to comment.