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:
commit
15263f0c9c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user