commit | 2d319fdfcb36d53a733293904a5bf42775332fed | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sun Sep 16 21:34:26 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun Sep 16 21:34:26 2012 +0000 |
tree | e24af42aa16a12fb13e1f751baf2e93bb7ccae00 | |
parent | 48916f9b670999e53f73f2c6085128ade47eafd8 [diff] |
- Fixed bug in mpi_add_abs with adding a small number to a large mpi with carry rollover.
diff --git a/library/bignum.c b/library/bignum.c index 08cbf8c..9af6980 100644 --- a/library/bignum.c +++ b/library/bignum.c
@@ -761,7 +761,7 @@ p = X->p + i; } - *p += c; c = ( *p < c ); i++; + *p += c; c = ( *p < c ); i++; p++; } cleanup: