Skip to content

Commit

Permalink
Words
Browse files Browse the repository at this point in the history
  • Loading branch information
lrstewart committed Apr 12, 2024
1 parent 3eb7873 commit 1e1356c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/unit/s2n_signature_algorithms_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1375,12 +1375,13 @@ int main(int argc, char **argv)

EXPECT_SUCCESS(s2n_reset_tls13_in_test());

/* Self-Talk test: ECDSA signature scheme curves must only match certificate
* curves and only for TLS1.3
/* Self-Talk test: In TLS1.3, the ECDSA signature scheme curve must match
* the ECDSA certificate curve.
*
* Signature schemes do NOT have to match ECDHE curves.
* Signature schemes do NOT have to match certificate curves for TLS1.2.
* Signature schemes do NOT have to match PRF hashes.
* But:
* Signature scheme curves do NOT have to match certificate curves in TLS1.2.
* Signature scheme curves do NOT have to match the ECDHE curve.
* Signature scheme hashes do NOT have to match PRF hashes.
*/
if (s2n_is_tls13_fully_supported()) {
DEFER_CLEANUP(struct s2n_config *config = s2n_config_new(), s2n_config_ptr_free);
Expand Down

0 comments on commit 1e1356c

Please sign in to comment.