From: Ulf Möller Date: Sat, 2 Dec 2000 20:51:47 +0000 (+0000) Subject: last commit was wrong. Now it works. :) X-Git-Tag: OpenSSL_0_9_6a-beta1~107^2~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b26f84cbbd7664bbacf253ee820c06b872d0febf;p=oweals%2Fopenssl.git last commit was wrong. Now it works. :) --- diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c index af8ec34a49..658a491763 100644 --- a/crypto/bn/bn_lib.c +++ b/crypto/bn/bn_lib.c @@ -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 */ } }