From 94af0cd7f3a8130bbc23feb743b176a74eec7e10 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Thu, 28 Jan 2016 10:13:21 -0500 Subject: Move more BN internals to bn_lcl.h There was an unused macro in ssl_locl.h that used an internal type, so I removed it. Move bio_st from bio.h to ossl_type.h Reviewed-by: Andy Polyakov --- crypto/bn/bn_gcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/bn/bn_gcd.c') diff --git a/crypto/bn/bn_gcd.c b/crypto/bn/bn_gcd.c index a3e56c85f6..b6dd09e581 100644 --- a/crypto/bn/bn_gcd.c +++ b/crypto/bn/bn_gcd.c @@ -290,7 +290,7 @@ BIGNUM *int_bn_mod_inverse(BIGNUM *in, * sign*Y*a == A (mod |n|). */ - if (BN_is_odd(n) && (BN_num_bits(n) <= (BN_BITS <= 32 ? 450 : 2048))) { + if (BN_is_odd(n) && (BN_num_bits(n) <= 2048)) { /* * Binary inversion algorithm; requires odd modulus. This is faster * than the general algorithm if the modulus is sufficiently small -- cgit v1.2.3