summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-09-29 21:12:51 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-09-29 21:12:51 +0000
commit1dcab53b1125262d9a8c328cdd5bb2ada9a9b40a (patch)
tree53e0eb9859771c7317799a99a54a10ef86118e95 /lib
parent6ee928535e07c49458ffced6c4a9be137341c901 (diff)
Revert BN_cmp() change. Its arguments are const. Spotted by miod@.
ok deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/src/crypto/bn/bn_lib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libssl/src/crypto/bn/bn_lib.c b/lib/libssl/src/crypto/bn/bn_lib.c
index 5e530d94743..463463cfcb0 100644
--- a/lib/libssl/src/crypto/bn/bn_lib.c
+++ b/lib/libssl/src/crypto/bn/bn_lib.c
@@ -702,9 +702,6 @@ int BN_cmp(const BIGNUM *a, const BIGNUM *b)
{ gt=1; lt= -1; }
else { gt= -1; lt=1; }
- bn_fix_top(a);
- bn_fix_top(b);
-
if (a->top > b->top) return(gt);
if (a->top < b->top) return(lt);
for (i=a->top-1; i>=0; i--)