Move more BN internals to bn_lcl.h
[oweals/openssl.git] / crypto / bn / bn_gcd.c
index a3e56c85f68a84778ccafc4687a79ee060b7cad0..b6dd09e5819b18f180f9fbbc01b1c65fe2eef326 100644 (file)
@@ -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