summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crypto_libraries/src/nx_crypto_hkdf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto_libraries/src/nx_crypto_hkdf.c b/crypto_libraries/src/nx_crypto_hkdf.c
index b9d080dc..3ce9e1a9 100644
--- a/crypto_libraries/src/nx_crypto_hkdf.c
+++ b/crypto_libraries/src/nx_crypto_hkdf.c
@@ -172,7 +172,7 @@ UINT status;
if(hmac_method)
{
- status = hmac_method -> nx_crypto_cleanup(hmac_method);
+ status = hmac_method -> nx_crypto_cleanup(hkdf->nx_crypto_hmac_metadata);
if (status != NX_CRYPTO_SUCCESS)
{