mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
FHEM/HttpUtils.pm: allow setting SSLversion by the module (Forum #73922)
git-svn-id: https://svn.fhem.de/fhem/trunk@14647 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
34c94f89fb
commit
6b14865e13
@ -347,7 +347,7 @@ HttpUtils_Connect2($)
|
||||
if($hash->{NAME});
|
||||
my %par = %{$hash->{sslargs}};
|
||||
$par{Timeout} = $hash->{timeout};
|
||||
$par{SSL_version} = $sslVersion;
|
||||
$par{SSL_version} = $sslVersion if(!$par{SSL_version});
|
||||
$par{SSL_hostname} = $hash->{host}
|
||||
if(IO::Socket::SSL->can('can_client_sni') &&
|
||||
IO::Socket::SSL->can_client_sni() &&
|
||||
|
Loading…
Reference in New Issue
Block a user