aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/dh/dh_gen.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-05-11 14:43:38 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-05-11 14:43:38 +0000
commitc2fd5989945501b81b7d698c71eb34d767ac55bd (patch)
tree55053bc68483b680272f347b8c53c6d3119487cc /crypto/dh/dh_gen.c
parent5024b79f5c41d97f023a5dbb6142af906129bf86 (diff)
downloadopenssl-c2fd5989945501b81b7d698c71eb34d767ac55bd.tar.gz
Rename FIPS_mode_set and FIPS_mode. Theses symbols will be defined in
the FIPS capable OpenSSL.
Diffstat (limited to 'crypto/dh/dh_gen.c')
-rw-r--r--crypto/dh/dh_gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/dh/dh_gen.c b/crypto/dh/dh_gen.c
index 9749b72157..d0cecda8d7 100644
--- a/crypto/dh/dh_gen.c
+++ b/crypto/dh/dh_gen.c
@@ -118,7 +118,7 @@ static int dh_builtin_genparams(DH *ret, int prime_len, int generator, BN_GENCB
return 0;
}
- if (FIPS_mode() && (prime_len < OPENSSL_DH_FIPS_MIN_MODULUS_BITS))
+ if (FIPS_module_mode() && (prime_len < OPENSSL_DH_FIPS_MIN_MODULUS_BITS))
{
DHerr(DH_F_DH_BUILTIN_GENPARAMS, DH_R_KEY_SIZE_TOO_SMALL);
goto err;