projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename FIPS_mode_set and FIPS_mode. Theses symbols will be defined in
[openssl.git]
/
crypto
/
dh
/
dh_gen.c
diff --git
a/crypto/dh/dh_gen.c
b/crypto/dh/dh_gen.c
index
9749b72
..
d0cecda
100644
(file)
--- 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_mod
ule_mod
e() && (prime_len < OPENSSL_DH_FIPS_MIN_MODULUS_BITS))
{
DHerr(DH_F_DH_BUILTIN_GENPARAMS, DH_R_KEY_SIZE_TOO_SMALL);
goto err;