diff options
author | Richard Levitte <levitte@openssl.org> | 2020-08-30 09:53:22 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-09-03 17:48:33 +0200 |
commit | 7192e4dfa104f83e54c37e6acfa49fb6a3e1a5dd (patch) | |
tree | 6a1a7caee113644ab2b8c453cb0063d0c4393628 /test/recipes/15-test_genrsa.t | |
parent | 96b924105fd5069875cefcc7e0aca03e2daf1348 (diff) |
TEST: Ensure that the base provider i activated when needed
The fips providers can't be activated alone if encoding, decoding or
STORE are going to be used.
To enable this, we selectively use test/fips-and-base.cnf instead of
test/fips.cnf in our test recipes.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12587)
Diffstat (limited to 'test/recipes/15-test_genrsa.t')
-rw-r--r-- | test/recipes/15-test_genrsa.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/recipes/15-test_genrsa.t b/test/recipes/15-test_genrsa.t index 90880be9fc..ffa334f15e 100644 --- a/test/recipes/15-test_genrsa.t +++ b/test/recipes/15-test_genrsa.t @@ -117,10 +117,9 @@ ok(!run(app([ 'openssl', 'genpkey', '-algorithm', 'RSA', } unless ($no_fips) { - my $provconf = srctop_file("test", "fips.cnf"); + my $provconf = srctop_file("test", "fips-and-base.cnf"); my $provpath = bldtop_dir("providers"); my @prov = ( "-provider-path", $provpath, - "-provider", "base", "-config", $provconf); my $infile = bldtop_file('providers', platform->dso('fips')); |