From 9c480ece66c0b8fb17af78bb4c37c4ab9581408d Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 26 Jul 2022 15:48:58 -0700 Subject: [PATCH] Fix to use the new `outTmp`. --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */