mirror of
https://github.com/openssl/openssl.git
synced 2024-12-25 09:53:52 +08:00
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>
This commit is contained in:
parent
d9f7772674
commit
1fff160bc0
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user