1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-12 09:09:39 +01:00

Merge branch '1.0' into 3.0

This commit is contained in:
terrafrost 2021-11-11 19:38:52 -06:00
commit 15263f0c9c

View File

@ -3335,7 +3335,8 @@ class SSH2
$raw = stream_get_contents($this->fsock, $this->decrypt_block_size); $raw = stream_get_contents($this->fsock, $this->decrypt_block_size);
if (!strlen($raw)) { if (!strlen($raw)) {
return ''; user_error('No data received from server');
return false;
} }
if ($this->decrypt) { if ($this->decrypt) {