summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_addmod.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-18 12:53:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-18 12:53:48 (GMT)
commitf5ea63343e4245c7b8e5a0872e65c867e5e9d6f2 (patch)
tree09e2655da959a6836c1ce84c44656f55b691bdcb /libtommath/bn_mp_addmod.c
parenta708ae2da22c8e6b6cbe9c0023a21557b27ee78b (diff)
downloadtcl-f5ea63343e4245c7b8e5a0872e65c867e5e9d6f2.zip
tcl-f5ea63343e4245c7b8e5a0872e65c867e5e9d6f2.tar.gz
tcl-f5ea63343e4245c7b8e5a0872e65c867e5e9d6f2.tar.bz2
Another round of libtommath const'ification. To be submitted to the libtommath folks
Diffstat (limited to 'libtommath/bn_mp_addmod.c')
-rw-r--r--libtommath/bn_mp_addmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_addmod.c b/libtommath/bn_mp_addmod.c
index 0521974..5aee233 100644
--- a/libtommath/bn_mp_addmod.c
+++ b/libtommath/bn_mp_addmod.c
@@ -17,7 +17,7 @@
/* d = a + b (mod c) */
int
-mp_addmod(mp_int *a, mp_int *b, mp_int *c, mp_int *d)
+mp_addmod(const mp_int *a, const mp_int *b, const mp_int *c, mp_int *d)
{
int res;
mp_int t;