summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_s_mp_exptmod.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-03 09:11:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-10-03 09:11:05 (GMT)
commit7f1045d5a68cec549da5cfd2270d089f2089a893 (patch)
tree4376030da11134b118c191537f4a90ab65f243ab /libtommath/bn_s_mp_exptmod.c
parentdecba31378095b56c8854968f0c9595761c68ed9 (diff)
parentafc317f97f0177e386ef463d2204be712252ceec (diff)
downloadtcl-master.zip
tcl-master.tar.gz
tcl-master.tar.bz2
Merge latest 'const'ification changes from libtommath (develop branch, will be in next release). None of those are used in Tcl.master
Diffstat (limited to 'libtommath/bn_s_mp_exptmod.c')
-rw-r--r--libtommath/bn_s_mp_exptmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_s_mp_exptmod.c b/libtommath/bn_s_mp_exptmod.c
index 0d0145d..a886361 100644
--- a/libtommath/bn_s_mp_exptmod.c
+++ b/libtommath/bn_s_mp_exptmod.c
@@ -25,7 +25,7 @@ int s_mp_exptmod(const mp_int *G, const mp_int *X, const mp_int *P, mp_int *Y, i
mp_int M[TAB_SIZE], res, mu;
mp_digit buf;
int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize;
- int (*redux)(mp_int *,const mp_int *,mp_int *);
+ int (*redux)(mp_int *, const mp_int *, const mp_int *);
/* find window size */
x = mp_count_bits(X);