diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-09-29 21:12:51 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2003-09-29 21:12:51 +0000 |
commit | 4b1063654e6e7e3a547924640d3525e5b0131298 (patch) | |
tree | 027497e8d06af135bff787e05acc6b7b7711dd47 | |
parent | ab87e0a67d14e20b3730f91a14d1117f6349682a (diff) |
Revert BN_cmp() change. Its arguments are const. Spotted by miod@.
ok deraadt@
-rw-r--r-- | lib/libcrypto/bn/bn_lib.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libcrypto/bn/bn_lib.c b/lib/libcrypto/bn/bn_lib.c index 5e530d94743..463463cfcb0 100644 --- a/lib/libcrypto/bn/bn_lib.c +++ b/lib/libcrypto/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--) |