From 6cb500d7c80c0ca93d768c4edbf38183260c09f0 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 4 Feb 2020 06:14:40 -0600 Subject: [PATCH] SSH1: typo --- phpseclib/Net/SSH1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH1.php b/phpseclib/Net/SSH1.php index b7b7cd8ac..bdb57dbdb 100644 --- a/phpseclib/Net/SSH1.php +++ b/phpseclib/Net/SSH1.php @@ -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;