Use the config file from the source not the host for the tests
authorKurt Roeckx <kurt@roeckx.be>
Sat, 28 Apr 2018 21:26:22 +0000 (23:26 +0200)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 30 Apr 2018 10:00:51 +0000 (12:00 +0200)
Fixes: #6046

Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #6125

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 ],