last commit was wrong. Now it works. :)

This commit is contained in:
Ulf Möller 2000-12-02 20:51:47 +00:00
parent 0dba0613ea
commit b26f84cbbd

View File

@ -786,9 +786,9 @@ int bn_cmp_part_words(const BN_ULONG *a, const BN_ULONG *b,
if (dl < 0) 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 */ return -1; /* a < b */
} }
} }