summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-09-01 22:15:13 +0200
committerRichard Levitte <levitte@openssl.org>2017-09-01 22:53:16 +0200
commit90507fbb5c880e2903be2321f6054b3cebebda4c (patch)
tree2447e313a77092b132462cd86ebfce74dc4b68b3 /test
parent3daecf16bdff4fc2303907d44ff651a52facbd89 (diff)
Fix OpenSSL::Test::Utils::config to actualy load the config data
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4319) (cherry picked from commit 607f4d564f9540cda6cf5b127f2414625a11741a)
Diffstat (limited to 'test')
-rw-r--r--test/testlib/OpenSSL/Test/Utils.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testlib/OpenSSL/Test/Utils.pm b/test/testlib/OpenSSL/Test/Utils.pm
index 665bfc6310..7b0a705636 100644
--- a/test/testlib/OpenSSL/Test/Utils.pm
+++ b/test/testlib/OpenSSL/Test/Utils.pm
@@ -155,6 +155,7 @@ sub available_protocols {
}
sub config {
+ load_configdata() unless $configdata_loaded;
return $config{$_[0]};
}