From 7c50694f054b1974a744c5879c032c35aeabb232 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sun, 24 Apr 2011 12:40:26 +0000 Subject: [PATCH] Fix warning. --- crypto/dsa/dsa_gen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index 9cde6b7159..4ff8a472cd 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -372,6 +372,8 @@ err: return ok; } +#ifdef OPENSSL_FIPS + /* Security strength of parameter values for (L,N): see FIPS186-3 4.2 * and SP800-131A */ @@ -407,7 +409,6 @@ 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; -- 2.40.0