Skip to content

Commit

Permalink
wolfcrypt/src/rsa.c: fix wc_FreeRsaKey() WOLFSSL_XILINX_CRYPT XFREE()…
Browse files Browse the repository at this point in the history
… call to pass key->heap as before.
  • Loading branch information
douzzer committed Oct 21, 2024
1 parent efff8e0 commit f24b987
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfcrypt/src/rsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ int wc_FreeRsaKey(RsaKey* key)
mp_clear(&key->n);

#ifdef WOLFSSL_XILINX_CRYPT
XFREE(key->mod, heap, DYNAMIC_TYPE_KEY);
XFREE(key->mod, key->heap, DYNAMIC_TYPE_KEY);
key->mod = NULL;
#endif

Expand Down

0 comments on commit f24b987

Please sign in to comment.