mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
fips_check_dsa_prng() should only be built when OPENSSL_FIPS is defined.
This commit is contained in:
parent
171edf7ff4
commit
ce67647605
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user