From eaf27b194584737058ebfe2f77b44efac134312e Mon Sep 17 00:00:00 2001 From: Lealem Amedie Date: Fri, 2 Jun 2023 10:09:12 -0600 Subject: [PATCH] Read and assign err return val from _sp_mulmod_tmp --- wolfcrypt/src/sp_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index f5da4780e..91dc3b1d8 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -11736,7 +11736,7 @@ static int _sp_mulmod(const sp_int* a, const sp_int* b, const sp_int* m, } else { /* Do operation using temporary. */ - _sp_mulmod_tmp(a, b, m, r); + err = _sp_mulmod_tmp(a, b, m, r); } return err;