aboutsummaryrefslogtreecommitdiff
path: root/lib/parser.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2015-01-14 16:10:12 +0000
committerDavid Howells <[email protected]>2015-01-14 16:10:12 +0000
commitb9f918a31d629e99c9ca3d6ac2a2d7a905715c69 (patch)
treebaaca0718341de9349805593023944b62336122a /lib/parser.c
parent98dbbcba1b0c1874b9faf9c77b83f9729360aa2c (diff)
MPILIB: Fix comparison of negative MPIs
If u and v both represent negative integers and their limb counts happen to differ, mpi_cmp will always return a positive value - this is obviously bogus. u is smaller than v if and only if it is larger in absolute value. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Dmitry Kasatkin <[email protected]>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions