Skip to content

Commit

Permalink
even though we do not test what is recorded, clear it otherwise tests…
Browse files Browse the repository at this point in the history
… that follow fail
  • Loading branch information
kazuho committed Oct 19, 2023
1 parent ba9bba4 commit 1a18e83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/picotls.c
Original file line number Diff line number Diff line change
Expand Up @@ -2099,6 +2099,8 @@ static void test_legacy_ch(void)
ret = ptls_handshake(tls, &sendbuf, tls12_no_exts, &len, NULL);
ptls_free(tls);
ok(ret == PTLS_ALERT_PROTOCOL_VERSION);
free(legacy_params);
legacy_params = NULL;

tls = ptls_new(ctx, 1);
len = sizeof(tls10_with_exts);
Expand Down

0 comments on commit 1a18e83

Please sign in to comment.