projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
last commit was wrong. Now it works. :)
[openssl.git]
/
crypto
/
bn
/
bn_lib.c
diff --git
a/crypto/bn/bn_lib.c
b/crypto/bn/bn_lib.c
index af8ec34a496328609c8bfa41e497399014a85585..658a491763db8bd3dc1897530370443c268c221c 100644
(file)
--- 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 */
}
}