Skip to content

Commit

Permalink
SSH1: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Feb 4, 2020
1 parent c2be7e6 commit 6cb500d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpseclib/Net/SSH1.php
Expand Up @@ -1169,7 +1169,7 @@ function _get_binary_packet()

while ($length > 0) {
$temp = fread($this->fsock, $length);
if (stlren($temp) != $length) {
if (strlen($temp) != $length) {
return false;
}
$raw.= $temp;
Expand Down

0 comments on commit 6cb500d

Please sign in to comment.