2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

HttpUtils.pm: add SSL_version (Forum #27565)

git-svn-id: https://svn.fhem.de/fhem/trunk@7091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-11-29 14:50:11 +00:00
parent 5a24265611
commit 74f06556b1

View File

@ -170,8 +170,10 @@ HttpUtils_Connect2($)
Log3 undef, $hash->{loglevel}, $@;
} else {
$hash->{conn}->blocking(1);
IO::Socket::SSL->start_SSL($hash->{conn}, Timeout=>$hash->{timeout})
|| undef $hash->{conn};
IO::Socket::SSL->start_SSL($hash->{conn}, {
Timeout => $hash->{timeout},
SSL_version => 'SSLv23:!SSLv3:!SSLv2', #Forum #27565
}) || undef $hash->{conn};
}
}