diff --git a/phpseclib/Net/SSH1.php b/phpseclib/Net/SSH1.php index 81f6b00e..ff48d543 100644 --- a/phpseclib/Net/SSH1.php +++ b/phpseclib/Net/SSH1.php @@ -1124,7 +1124,7 @@ class SSH1 while ($length > 0) { $temp = fread($this->fsock, $length); - if (stlren($temp) != $length) { + if (strlen($temp) != $length) { return false; } $raw.= $temp;