From 1dcab53b1125262d9a8c328cdd5bb2ada9a9b40a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 29 Sep 2003 21:12:51 +0000 Subject: Revert BN_cmp() change. Its arguments are const. Spotted by miod@. ok deraadt@ --- lib/libssl/src/crypto/bn/bn_lib.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/libssl') 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--) -- cgit v1.2.3