Error discrepancy corrected.

This commit is contained in:
Richard Levitte 2011-04-24 08:59:15 +00:00
parent 69a80f7d5e
commit 171edf7ff4

View File

@ -273,7 +273,7 @@ int fips_check_ec_prng(EC_KEY *ec)
if (bits < 160) if (bits < 160)
{ {
FIPSerr(FIPS_F_FIPS_CHECK_DSA_PRNG,FIPS_R_KEY_TOO_SHORT); FIPSerr(FIPS_F_FIPS_CHECK_EC_PRNG,FIPS_R_KEY_TOO_SHORT);
return 0; return 0;
} }
/* Comparable algorithm strengths: from SP800-57 table 2 */ /* Comparable algorithm strengths: from SP800-57 table 2 */