diff options
author | Richard Levitte <levitte@openssl.org> | 2011-04-24 10:07:17 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2011-04-24 10:07:17 +0000 |
commit | ce67647605895a743d6121c6516727c25e119a73 (patch) | |
tree | 6a0ef62689d5cee8ff3539d56082325882c0d779 /crypto | |
parent | 171edf7ff4f61f8bddbdc7dc9f262cfeecb5ee08 (diff) |
fips_check_dsa_prng() should only be built when OPENSSL_FIPS is defined.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/dsa/dsa_gen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index 4d6bbc0d05..9cde6b7159 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -407,6 +407,7 @@ static int dsa2_valid_parameters(size_t L, size_t N) return 0; } +#ifdef OPENSSL_FIPS int fips_check_dsa_prng(DSA *dsa, size_t L, size_t N) { int strength; @@ -442,6 +443,7 @@ int fips_check_dsa_prng(DSA *dsa, size_t L, size_t N) return 0; } +#endif /* OPENSSL_FIPS */ /* This is a parameter generation algorithm for the DSA2 algorithm as * described in FIPS 186-3. |