HttpUtils.pm: add SSL_version (Forum #27565)
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user