diff options
author | Rich Salz <rsalz@akamai.com> | 2020-06-28 21:11:48 -0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-07-15 23:17:29 +0200 |
commit | 5744dacb3a9d785d587afb61831cb1ff2be6ed0d (patch) | |
tree | 88e93dfa7992a174b506380074298bb6f7ba03be /test | |
parent | d3b243d15bdbd4191a8c615f3654d00e1194d17c (diff) |
Make -provider_name and -section_name optional
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12311)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/30-test_acvp.t | 4 | ||||
-rw-r--r-- | test/recipes/30-test_evp.t | 4 | ||||
-rw-r--r-- | test/recipes/30-test_evp_fetch_prov.t | 5 | ||||
-rw-r--r-- | test/recipes/80-test_ssl_new.t | 5 | ||||
-rw-r--r-- | test/recipes/80-test_ssl_old.t | 6 | ||||
-rw-r--r-- | test/recipes/90-test_sslapi.t | 4 |
6 files changed, 10 insertions, 18 deletions
diff --git a/test/recipes/30-test_acvp.t b/test/recipes/30-test_acvp.t index 49cd484a30..8cfc07ecf7 100644 --- a/test/recipes/30-test_acvp.t +++ b/test/recipes/30-test_acvp.t @@ -31,9 +31,7 @@ plan tests => 2; ok(run(app(['openssl', 'fipsinstall', '-out', bldtop_file('providers', 'fipsmodule.cnf'), - '-module', $infile, - '-provider_name', 'fips', - '-section_name', 'fips_sect'])), + '-module', $infile])), "fipsinstall"); ok(run(test(["acvp_test", "-config", srctop_file("test","fips.cnf")])), diff --git a/test/recipes/30-test_evp.t b/test/recipes/30-test_evp.t index 32639b77a5..c94893a5bc 100644 --- a/test/recipes/30-test_evp.t +++ b/test/recipes/30-test_evp.t @@ -85,9 +85,7 @@ unless ($no_fips) { ok(run(app(['openssl', 'fipsinstall', '-out', bldtop_file('providers', 'fipsmodule.cnf'), - '-module', $infile, - '-provider_name', 'fips', - '-section_name', 'fips_sect'])), + '-module', $infile])), "fipsinstall"); } diff --git a/test/recipes/30-test_evp_fetch_prov.t b/test/recipes/30-test_evp_fetch_prov.t index f53fdb0700..81b3c62cc4 100644 --- a/test/recipes/30-test_evp_fetch_prov.t +++ b/test/recipes/30-test_evp_fetch_prov.t @@ -21,6 +21,7 @@ use lib bldtop_dir('.'); use platform; my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); +my $infile = bldtop_file('providers', platform->dso('fips')); my @types = ( "digest", "cipher" ); @@ -46,9 +47,7 @@ unless ($no_fips) { push @setups, { cmd => app(['openssl', 'fipsinstall', '-out', bldtop_file('providers', 'fipsmodule.cnf'), - '-module', bldtop_file('providers', platform->dso('fips')), - '-provider_name', 'fips', - '-section_name', 'fips_sect']), + '-module', $infile]), message => "fipsinstall" }; push @testdata, ( diff --git a/test/recipes/80-test_ssl_new.t b/test/recipes/80-test_ssl_new.t index 1df21d7ad1..6051adbfb2 100644 --- a/test/recipes/80-test_ssl_new.t +++ b/test/recipes/80-test_ssl_new.t @@ -25,6 +25,7 @@ use lib bldtop_dir('.'); use platform; my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); +my $infile = bldtop_file('providers', platform->dso('fips')); $ENV{TEST_CERTS_DIR} = srctop_dir("test", "certs"); @@ -117,9 +118,7 @@ my %skip = ( unless ($no_fips) { ok(run(app(['openssl', 'fipsinstall', '-out', bldtop_file('providers', 'fipsmodule.cnf'), - '-module', bldtop_file('providers', platform->dso('fips')), - '-provider_name', 'fips', - '-section_name', 'fips_sect'])), + '-module', $infile])), "fipsinstall"); } diff --git a/test/recipes/80-test_ssl_old.t b/test/recipes/80-test_ssl_old.t index 814fe7ce6d..210346cb70 100644 --- a/test/recipes/80-test_ssl_old.t +++ b/test/recipes/80-test_ssl_old.t @@ -25,6 +25,8 @@ use lib bldtop_dir('.'); use platform; my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0); +my $infile = bldtop_file('providers', platform->dso('fips')); + my ($no_rsa, $no_dsa, $no_dh, $no_ec, $no_psk, $no_ssl3, $no_tls1, $no_tls1_1, $no_tls1_2, $no_tls1_3, $no_dtls, $no_dtls1, $no_dtls1_2, $no_ct) = @@ -85,9 +87,7 @@ plan tests => unless ($no_fips) { ok(run(app(['openssl', 'fipsinstall', '-out', bldtop_file('providers', 'fipsmodule.cnf'), - '-module', bldtop_file('providers', platform->dso('fips')), - '-provider_name', 'fips', - '-section_name', 'fips_sect'])), + '-module', $infile])), "fipsinstall"); } diff --git a/test/recipes/90-test_sslapi.t b/test/recipes/90-test_sslapi.t index c32221b9f6..9af8435f6e 100644 --- a/test/recipes/90-test_sslapi.t +++ b/test/recipes/90-test_sslapi.t @@ -39,9 +39,7 @@ ok(run(test(["sslapitest", srctop_dir("test", "certs"), unless ($no_fips) { ok(run(app(['openssl', 'fipsinstall', '-out', bldtop_file('providers', 'fipsmodule.cnf'), - '-module', bldtop_file('providers', platform->dso('fips')), - '-provider_name', 'fips', - '-section_name', 'fips_sect'])), + '-module', bldtop_file('providers', platform->dso('fips'))])), "fipsinstall"); ok(run(test(["sslapitest", srctop_dir("test", "certs"), |