summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bn_lib.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-12-02 19:34:42 +0000
committerUlf Möller <ulf@openssl.org>2000-12-02 19:34:42 +0000
commit0dba0613ea50e36fb23e327dbbf835475d00beab (patch)
tree8a9bc753d03047ebb05a9632c594ff56cec4c896 /crypto/bn/bn_lib.c
parente0c875081e39c6e9e67327fb4678c3f34ff50042 (diff)
argl
Diffstat (limited to 'crypto/bn/bn_lib.c')
-rw-r--r--crypto/bn/bn_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index 87972ce7b0..af8ec34a49 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -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 */