Skip to content

Commit

Permalink
gate tls13 test to supported platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Nov 19, 2024
1 parent 0042f29 commit 82651d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/s2n_record_read_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ int main(int argc, char *argv[])

/* Ensure that the input buffer is wiped after failing to read a record */
for (size_t i = 0; i < s2n_array_len(policy_test_cases); i++) {
if (policy_test_cases[i].version == S2N_TLS13 && !s2n_is_tls13_fully_supported()) {
continue;
}

DEFER_CLEANUP(struct s2n_config *config = s2n_config_new_minimal(), s2n_config_ptr_free);
EXPECT_NOT_NULL(config);
EXPECT_SUCCESS(s2n_config_add_cert_chain_and_key_to_store(config, chain_and_key));
Expand Down

0 comments on commit 82651d9

Please sign in to comment.