Skip to content

Commit

Permalink
PKCS11 tests: fix pointer reference
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Mar 18, 2024
1 parent 26dd3a1 commit 602b531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkcs11/tests/ecdh_sp800_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static size_t openssl_derive(CK_ULONG kdf, EVP_PKEY *private_key,

c_free:
if (len == 0) {
free(ecdh_key);
free(*ecdh_key);
}
EVP_PKEY_CTX_free(ctx);
if (mdctx != NULL) {
Expand Down

0 comments on commit 602b531

Please sign in to comment.