From 89d6f877a42fb8da81f7a000093228b1f9c2af2b Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Wed, 5 Jul 2017 06:49:03 +0000 Subject: [PATCH] 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 --- fhem/FHEM/HttpUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index 238a24108..eb7d389ce 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -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() &&