forked from wolfSSL/wolfssl
update based on PR comments
This commit is contained in:
@ -25966,7 +25966,7 @@ int wc_RsaKeyToDer(RsaKey* key, byte* output, word32 inLen)
|
||||
/* free outstanding tmps */
|
||||
for (i = 0; i < RSA_INTS; i++) {
|
||||
if (tmps[i] != NULL)
|
||||
XFREE(tmps[i]);
|
||||
XFREE(tmps[i], key->heap, DYNAMIC_TYPE_RSA);
|
||||
}
|
||||
#endif
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user