Skip to content

Commit

Permalink
Merge pull request #8092 from douzzer/20241021-wc_FreeRsaKey-WOLFSSL_…
Browse files Browse the repository at this point in the history
…XILINX_CRYPT

20241021-wc_FreeRsaKey-WOLFSSL_XILINX_CRYPT
  • Loading branch information
JacobBarthelmeh authored Oct 21, 2024
2 parents 38c3379 + f24b987 commit 104c805
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 104c805

Please sign in to comment.