From 6b695fefd0874d606eb864ce993f88bcc34a219b Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Tue, 28 Jun 2005 15:03:58 +0000 Subject: [PATCH] remove OPENSSL_NO_ASM dependency --- crypto/ec/ecp_nist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/ec/ecp_nist.c b/crypto/ec/ecp_nist.c index 9e3762ff42..71893d5eab 100644 --- a/crypto/ec/ecp_nist.c +++ b/crypto/ec/ecp_nist.c @@ -140,7 +140,7 @@ int ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, group->field_mod_func = BN_nist_mod_192; else if (BN_ucmp(BN_get0_nist_prime_224(), p) == 0) { -#if !defined(NO_32_BIT_TYPE) || defined(OPENSSL_NO_ASM) +#ifndef NO_32_BIT_TYPE group->field_mod_func = BN_nist_mod_224; #else ECerr(EC_F_EC_GFP_NIST_GROUP_SET_CURVE, EC_R_NOT_A_SUPPORTED_NIST_PRIME); @@ -149,7 +149,7 @@ int ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, } else if (BN_ucmp(BN_get0_nist_prime_256(), p) == 0) { -#if !defined(NO_32_BIT_TYPE) || defined(OPENSSL_NO_ASM) +#ifndef NO_32_BIT_TYPE group->field_mod_func = BN_nist_mod_256; #else ECerr(EC_F_EC_GFP_NIST_GROUP_SET_CURVE, EC_R_NOT_A_SUPPORTED_NIST_PRIME); @@ -158,7 +158,7 @@ int ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, } else if (BN_ucmp(BN_get0_nist_prime_384(), p) == 0) { -#if !defined(NO_32_BIT_TYPE) || defined(OPENSSL_NO_ASM) +#ifndef NO_32_BIT_TYPE group->field_mod_func = BN_nist_mod_384; #else ECerr(EC_F_EC_GFP_NIST_GROUP_SET_CURVE, EC_R_NOT_A_SUPPORTED_NIST_PRIME); -- 2.25.1