summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_reduce_2k.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_reduce_2k.c')
-rw-r--r--libtommath/bn_mp_reduce_2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_reduce_2k.c b/libtommath/bn_mp_reduce_2k.c
index 6bc96d1..2922cad 100644
--- a/libtommath/bn_mp_reduce_2k.c
+++ b/libtommath/bn_mp_reduce_2k.c
@@ -16,7 +16,7 @@
*/
/* reduces a modulo n where n is of the form 2**p - d */
-int mp_reduce_2k(mp_int *a, mp_int *n, mp_digit d)
+int mp_reduce_2k(mp_int *a, const mp_int *n, mp_digit d)
{
mp_int q;
int p, res;