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>
}
sub available_protocols {
}
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}}
my $protocol_class = shift;
if (exists $available_protocols{lc $protocol_class}) {
return @{$available_protocols{lc $protocol_class}}