diff options
author | Pauli <paul.dale@oracle.com> | 2019-04-11 08:55:50 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-05-09 20:21:09 +1000 |
commit | 1fb3c0afffec0b53a01fa3374bb0099218902ce0 (patch) | |
tree | 46dcd079a987958fdf44f3155241924182b98b60 /test | |
parent | 7eeefcd841e6e58ecc0107acf550d1c12a7769ef (diff) | |
download | openssl-new-1fb3c0afffec0b53a01fa3374bb0099218902ce0.tar.gz |
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)
Diffstat (limited to 'test')
-rw-r--r-- | test/drbg_cavs_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/drbg_cavs_test.c b/test/drbg_cavs_test.c index 8138269bff..ce7a565ec1 100644 --- a/test/drbg_cavs_test.c +++ b/test/drbg_cavs_test.c @@ -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: |