summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_mod_2d.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_mod_2d.c')
-rw-r--r--libtommath/bn_mp_mod_2d.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libtommath/bn_mp_mod_2d.c b/libtommath/bn_mp_mod_2d.c
index 59270b9..31997d3 100644
--- a/libtommath/bn_mp_mod_2d.c
+++ b/libtommath/bn_mp_mod_2d.c
@@ -16,7 +16,8 @@
*/
/* calc a value mod 2**b */
-int mp_mod_2d(mp_int *a, int b, mp_int *c)
+int
+mp_mod_2d(const mp_int *a, int b, mp_int *c)
{
int x, res;