Skip to content

Commit

Permalink
Merge pull request #671 from bfussell/libacvp_1_4_0-throttle
Browse files Browse the repository at this point in the history
typo caused incorrect frees
  • Loading branch information
bfussell committed Jan 21, 2022
2 parents 94f6699 + 50e2246 commit 78c124f
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 78c124f

Please sign in to comment.