Skip the no derivation functions when in FIPS mode because they are not
applicable. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8695)
This commit is contained in:
parent
7eeefcd841
commit
1fb3c0afff
1 changed files with 2 additions and 1 deletions
|
@ -257,7 +257,8 @@ static int test_cavs_kats(const struct drbg_kat *test[], int i)
|
|||
#ifdef FIPS_MODE
|
||||
/* FIPS mode doesn't support instantiating without a derivation function */
|
||||
if ((td->flags & USE_DF) == 0)
|
||||
return 1;
|
||||
return TEST_skip("instantiating without derivation function "
|
||||
"is not supported in FIPS mode");
|
||||
#endif
|
||||
switch (td->type) {
|
||||
case NO_RESEED:
|
||||
|
|
Loading…
Reference in a new issue