Mercurial > dropbear
diff libtommath/bn_fast_s_mp_mul_digs.c @ 1610:96e4c9b2cc00 coverity
merge coverity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 21 Mar 2018 00:52:02 +0800 |
parents | c8c20fb57a9a |
children | f52919ffd3b1 |
line wrap: on
line diff
--- a/libtommath/bn_fast_s_mp_mul_digs.c Sun Mar 04 15:07:09 2018 +0800 +++ b/libtommath/bn_fast_s_mp_mul_digs.c Wed Mar 21 00:52:02 2018 +0800 @@ -87,7 +87,7 @@ { mp_digit *tmpc; tmpc = c->dp; - for (ix = 0; ix < (pa + 1); ix++) { + for (ix = 0; ix < pa; ix++) { /* now extract the previous digit [below the carry] */ *tmpc++ = W[ix]; }