Fix OpenSSL::Test::Utils::config to actualy load the config data
authorRichard Levitte <levitte@openssl.org>
Fri, 1 Sep 2017 20:15:13 +0000 (22:15 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 1 Sep 2017 20:53:16 +0000 (22:53 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4319)

(cherry picked from commit 607f4d564f9540cda6cf5b127f2414625a11741a)

test/testlib/OpenSSL/Test/Utils.pm

index 665bfc6310829270479a5df5ab56e63c71eb300f..7b0a705636206ea40cb55d8142cd35a50d56d999 100644 (file)
@@ -155,6 +155,7 @@ sub available_protocols {
 }
 
 sub config {
+    load_configdata() unless $configdata_loaded;
     return $config{$_[0]};
 }