mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
TcpServerUtils.pm: Deny connecting without encryption if SSL is set (Forum #91148)
git-svn-id: https://svn.fhem.de/fhem/trunk@17500 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0f5ec154cd
commit
2661af4859
@ -121,6 +121,7 @@ TcpServer_Accept($$)
|
||||
SSL_cipher_list => 'HIGH:!RC4:!eNULL:!aNULL',
|
||||
Timeout => 4,
|
||||
});
|
||||
$! = EINVAL if(!$clientinfo[0]->blocking() && $!==EWOULDBLOCK);
|
||||
};
|
||||
my $err = $!;
|
||||
if( !$ret
|
||||
|
Loading…
Reference in New Issue
Block a user