summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2022-04-05 16:43:45 +0200
committerTomas Mraz <tomas@openssl.org>2022-04-07 11:25:47 +0200
commitffc22e038e92d5dd956362fa48babd03cff202d1 (patch)
tree329c57ed0582cfe4c25368eb9a95692f4c6fb932 /test
parentbc6bac8561ead83d6135f376ffcbbb0b657e64fe (diff)
test_fipsinstall: Fallback to config(FIPSKEY) for the FIPSKEY
Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18048)
Diffstat (limited to 'test')
-rw-r--r--test/recipes/03-test_fipsinstall.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recipes/03-test_fipsinstall.t b/test/recipes/03-test_fipsinstall.t
index d99974e467..79b45af795 100644
--- a/test/recipes/03-test_fipsinstall.t
+++ b/test/recipes/03-test_fipsinstall.t
@@ -27,7 +27,7 @@ plan skip_all => "Test only supported in a fips build" if disabled("fips");
plan tests => 29;
my $infile = bldtop_file('providers', platform->dso('fips'));
-my $fipskey = $ENV{FIPSKEY} // '00';
+my $fipskey = $ENV{FIPSKEY} // config('FIPSKEY') // '00';
# Read in a text $infile and replace the regular expression in $srch with the
# value in $repl and output to a new file $outfile.