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