diff --git a/library/bignum.c b/library/bignum.c index 08cbf8c68..9af6980c6 100644 --- a/library/bignum.c +++ b/library/bignum.c @@ -761,7 +761,7 @@ int mpi_add_abs( mpi *X, const mpi *A, const mpi *B ) p = X->p + i; } - *p += c; c = ( *p < c ); i++; + *p += c; c = ( *p < c ); i++; p++; } cleanup: