diff --git a/sshbn.c b/sshbn.c index 20244e86..cae1bd9e 100644 --- a/sshbn.c +++ b/sshbn.c @@ -386,6 +386,7 @@ static void internal_mul(const BignumInt *a, const BignumInt *b, carry += c[j]; c[j] = (BignumInt)carry; carry >>= BIGNUM_INT_BITS; + j--; } #ifdef KARA_DEBUG printf("ab = 0x");