Browse Source

Merge pull request #6465 from lealem47/zd162152

Read and assign err return val from _sp_mulmod_tmp
JacobBarthelmeh 10 months ago
parent
commit
37aada0313
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wolfcrypt/src/sp_int.c

+ 1 - 1
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;