argl
authorUlf Möller <ulf@openssl.org>
Sat, 2 Dec 2000 19:34:42 +0000 (19:34 +0000)
committerUlf Möller <ulf@openssl.org>
Sat, 2 Dec 2000 19:34:42 +0000 (19:34 +0000)
crypto/bn/bn_lib.c

index 87972ce7b08fcfe7c66c1e2cb408f00e971a46b8..af8ec34a496328609c8bfa41e497399014a85585 100644 (file)
@@ -786,7 +786,7 @@ 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)
                                return -1; /* a < b */