mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
HttpUtils.pm: add SSL_version (Forum #27565)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7091 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0661af8969
commit
ecabca2de8
@ -170,8 +170,10 @@ HttpUtils_Connect2($)
|
|||||||
Log3 undef, $hash->{loglevel}, $@;
|
Log3 undef, $hash->{loglevel}, $@;
|
||||||
} else {
|
} else {
|
||||||
$hash->{conn}->blocking(1);
|
$hash->{conn}->blocking(1);
|
||||||
IO::Socket::SSL->start_SSL($hash->{conn}, Timeout=>$hash->{timeout})
|
IO::Socket::SSL->start_SSL($hash->{conn}, {
|
||||||
|| undef $hash->{conn};
|
Timeout => $hash->{timeout},
|
||||||
|
SSL_version => 'SSLv23:!SSLv3:!SSLv2', #Forum #27565
|
||||||
|
}) || undef $hash->{conn};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user