Remove FIPS condition on IV gen test.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19237)
This commit is contained in:
Pauli 2022-09-19 10:31:12 +10:00
parent 919adfcf66
commit 3fd255acb7
1 changed files with 0 additions and 4 deletions

View File

@ -116,7 +116,6 @@ static int badkeylen_test(void)
return ret;
}
#ifdef FIPS_MODULE
static int ivgen_test(void)
{
unsigned char iv_gen[16];
@ -127,14 +126,11 @@ static int ivgen_test(void)
return do_encrypt(iv_gen, ct, &ctlen, tag, &taglen)
&& do_decrypt(iv_gen, ct, ctlen, tag, taglen);
}
#endif /* FIPS_MODULE */
int setup_tests(void)
{
ADD_TEST(kat_test);
ADD_TEST(badkeylen_test);
#ifdef FIPS_MODULE
ADD_TEST(ivgen_test);
#endif /* FIPS_MODULE */
return 1;
}