mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-16 02:07:09 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
4202f653ef
@ -1177,7 +1177,7 @@ class SSH2
|
|||||||
$this->errors[] = utf8_decode($data);
|
$this->errors[] = utf8_decode($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($matches[3] != '1.99' && $matches[3] != '2.0') {
|
if (version_compare($matches[3], '1.99', '<')) {
|
||||||
user_error("Cannot connect to SSH $matches[3] servers");
|
user_error("Cannot connect to SSH $matches[3] servers");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user