summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2003-09-29 21:12:50 +0000
committerotto <otto@openbsd.org>2003-09-29 21:12:50 +0000
commit7f7748b9757d313632dc28d8a774d6cf8141052d (patch)
treec3768f8047f473074fc4dbde20d7b566b8e2010e /lib/libssl/src
parentDisable cache on page tables unconditionnaly, not only for MVME188: magically (diff)
downloadwireguard-openbsd-7f7748b9757d313632dc28d8a774d6cf8141052d.tar.xz
wireguard-openbsd-7f7748b9757d313632dc28d8a774d6cf8141052d.zip
Revert BN_cmp() change. Its arguments are const. Spotted by miod@.
ok deraadt@
Diffstat (limited to 'lib/libssl/src')
-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--)