Skip to content

Commit

Permalink
typo caused incorrect frees
Browse files Browse the repository at this point in the history
  • Loading branch information
bfussell committed Jan 21, 2022
1 parent 94f6699 commit 50e2246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/acvp_kdf_tls13.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,8 @@ static ACVP_RESULT acvp_kdf_tls13_init_tc(ACVP_CTX *ctx,
static ACVP_RESULT acvp_kdf_tls13_release_tc(ACVP_KDF_TLS13_TC *stc) {
if (stc->psk) free(stc->psk);
if (stc->dhe) free(stc->dhe);
if (stc->c_hello_rand) free(stc->s_hello_rand);
if (stc->s_hello_rand) free(stc->c_hello_rand);
if (stc->c_hello_rand) free(stc->c_hello_rand);
if (stc->s_hello_rand) free(stc->s_hello_rand);
if (stc->fin_c_hello_rand) free(stc->fin_c_hello_rand);
if (stc->fin_s_hello_rand) free(stc->fin_s_hello_rand);
if (stc->c_early_traffic_secret) free(stc->c_early_traffic_secret);
Expand Down

0 comments on commit 50e2246

Please sign in to comment.