sslapi: use correct fipsmodule.cnf
authorPauli <pauli@openssl.org>
Tue, 18 Apr 2023 07:20:40 +0000 (17:20 +1000)
committerHugo Landau <hlandau@openssl.org>
Fri, 21 Apr 2023 16:01:38 +0000 (17:01 +0100)
The SSL API tests copies fipsmodule.cnf and modifies it.  Unfortunately, it
grabbed the wrong instance of this file.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20762)

test/recipes/90-test_sslapi.t

index 70d789d6c405313172286feb53bcdf041acb0e8c..9e9e32b51e52d32ca26d1ee4666f92ad1c2b2176 100644 (file)
@@ -19,7 +19,7 @@ use lib bldtop_dir('.');
 
 my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
 my $fipsmodcfg_filename = "fipsmodule.cnf";
-my $fipsmodcfg = bldtop_file("providers", $fipsmodcfg_filename);
+my $fipsmodcfg = bldtop_file("test", $fipsmodcfg_filename);
 
 my $provconf = srctop_file("test", "fips-and-base.cnf");