diff --git a/src/internal.c b/src/internal.c index 77d291a02..0ec64b148 100644 --- a/src/internal.c +++ b/src/internal.c @@ -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 */