Use the config file from the source not the host for the tests
[openssl.git] / test / run_tests.pl
index 6343ec7bc3e0860ea38deeb7c9bc0eebfdc4ad5e..56b5ad11e3debaad55b9c87079f3ad1c365007d6 100644 (file)
@@ -28,6 +28,8 @@ my $bldtop = $ENV{BLDTOP} || $ENV{TOP};
 my $recipesdir = catdir($srctop, "test", "recipes");
 my $libdir = rel2abs(catdir($srctop, "util", "perl"));
 
+$ENV{OPENSSL_CONF} = catdir($srctop, "apps", "openssl.cnf");
+
 my %tapargs =
     ( verbosity => $ENV{VERBOSE} || $ENV{V} || $ENV{HARNESS_VERBOSE} ? 1 : 0,
       lib       => [ $libdir ],