summaryrefslogtreecommitdiffstats
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:52:30 +0200
commit607f4d564f9540cda6cf5b127f2414625a11741a (patch)
treec06d0d553a924b502a8a081882d6567b46ff9217
parentc4604e9b97a4f6c4fd532dbab0fc4b1fdad81276 (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)
-rw-r--r--util/perl/OpenSSL/Test/Utils.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/perl/OpenSSL/Test/Utils.pm b/util/perl/OpenSSL/Test/Utils.pm
index 665bfc6310..7b0a705636 100644
--- a/util/perl/OpenSSL/Test/Utils.pm
+++ b/util/perl/OpenSSL/Test/Utils.pm
@@ -155,6 +155,7 @@ sub available_protocols {
}
sub config {
+ load_configdata() unless $configdata_loaded;
return $config{$_[0]};
}