From cd1a61288b10d16e686e9ba53c1100368bb9e78b Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Sat, 3 Dec 2022 10:14:15 -0600 Subject: [PATCH] wolfcrypt/src/sp_int.c: in _sp_mont_red(), add missing const in SP_WORD_SIZE == 32 codepath. --- 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 31a1b42bf..213512f47 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -16332,7 +16332,7 @@ static int _sp_mont_red(sp_int* a, const sp_int* m, sp_int_digit mp) sp_int_digit h; sp_int_digit o2; sp_int_digit* ad; - sp_int_digit* md; + const sp_int_digit* md; o = 0; o2 = 0;