Fix to use the new outTmp.

This commit is contained in:
David Garske
2022-07-26 15:48:58 -07:00
parent 856ea2ffc8
commit 9c480ece66

View File

@ -4667,7 +4667,7 @@ int RsaDec(WOLFSSL* ssl, byte* in, word32 inSz, byte** out, word32* outSz,
if (ret != 0)
return ret;
#endif
ret = wc_RsaPrivateDecryptInline(in, inSz, out, key);
ret = wc_RsaPrivateDecryptInline(in, inSz, &outTmp, key);
}
/* Handle async pending response */