summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_reduce_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_reduce_setup.c')
-rw-r--r--libtommath/bn_mp_reduce_setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_reduce_setup.c b/libtommath/bn_mp_reduce_setup.c
index 00ff61c..70e193a 100644
--- a/libtommath/bn_mp_reduce_setup.c
+++ b/libtommath/bn_mp_reduce_setup.c
@@ -18,7 +18,7 @@
/* pre-calculate the value required for Barrett reduction
* For a given modulus "b" it calulates the value required in "a"
*/
-int mp_reduce_setup(mp_int *a, mp_int *b)
+int mp_reduce_setup(mp_int *a, const mp_int *b)
{
int res;