diff options
author | Richard Levitte <levitte@openssl.org> | 2016-02-04 00:22:59 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-02-04 10:55:38 +0100 |
commit | 1fff160bc00d1c575440cd5e596fa2d4f5ab913e (patch) | |
tree | 095def737a408598b96755041ff401e38fc85185 /test | |
parent | d9f777267409a064ee0931b69425009a79771278 (diff) | |
download | openssl-1fff160bc00d1c575440cd5e596fa2d4f5ab913e.tar.gz |
Have OpenSSL::Test::Utils::available_protocols load configdata as well
Otherwise, it could typically always return an empty list, since it's
often called first if at all.
Reviewed-by: Ben Laurie <ben@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/testlib/OpenSSL/Test/Utils.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testlib/OpenSSL/Test/Utils.pm b/test/testlib/OpenSSL/Test/Utils.pm index c0248322a7..8f75013a6c 100644 --- a/test/testlib/OpenSSL/Test/Utils.pm +++ b/test/testlib/OpenSSL/Test/Utils.pm @@ -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}} |