mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-02 17:52:59 +01: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);
|
||||
}
|
||||
|
||||
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");
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user