Have OpenSSL::Test::Utils::available_protocols load configdata as well
[openssl.git] / test / testlib / OpenSSL / Test / Utils.pm
index c0248322a7579c26c7a58aa3f09a715fcd6818cc..8f75013a6c55bc7949ca0549fe33fc32676436e8 100644 (file)
@@ -130,6 +130,7 @@ sub disabled {
 }
 
 sub available_protocols {
+    load_configdata() unless $configdata_loaded;
     my $protocol_class = shift;
     if (exists $available_protocols{lc $protocol_class}) {
        return @{$available_protocols{lc $protocol_class}}