mirror of
https://github.com/cuberite/polarssl.git
synced 2025-11-09 23:45:06 -05:00
- Fixed bug in mpi_add_abs with adding a small number to a large mpi with carry rollover.
This commit is contained in:
parent
48916f9b67
commit
2d319fdfcb
@ -761,7 +761,7 @@ int mpi_add_abs( mpi *X, const mpi *A, const mpi *B )
|
|||||||
p = X->p + i;
|
p = X->p + i;
|
||||||
}
|
}
|
||||||
|
|
||||||
*p += c; c = ( *p < c ); i++;
|
*p += c; c = ( *p < c ); i++; p++;
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user