last commit was wrong. Now it works. :)
This commit is contained in:
parent
0dba0613ea
commit
b26f84cbbd
@ -786,9 +786,9 @@ int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b,
|
||||
|
||||
if (dl < 0)
|
||||
{
|
||||
for (i=-dl; i<0; i++)
|
||||
for (i=dl; i<0; i++)
|
||||
{
|
||||
if (b[n+i] != 0)
|
||||
if (b[n-i] != 0)
|
||||
return -1; /* a < b */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user