From f05091ca9544673bcf91dbf6924af13ccd1b7791 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 14 Feb 2022 17:51:53 -0600 Subject: [PATCH] SSH2/Agent: backport fix from master branch --- phpseclib/System/SSH/Agent.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpseclib/System/SSH/Agent.php b/phpseclib/System/SSH/Agent.php index 5ac3f6b8..5408531d 100644 --- a/phpseclib/System/SSH/Agent.php +++ b/phpseclib/System/SSH/Agent.php @@ -496,11 +496,10 @@ class System_SSH_Agent * Signal that agent forwarding should * be requested when a channel is opened * - * @param Net_SSH2 $ssh * @return bool * @access public */ - function startSSHForwarding($ssh) + function startSSHForwarding() { if ($this->forward_status == SYSTEM_SSH_AGENT_FORWARD_NONE) { $this->forward_status = SYSTEM_SSH_AGENT_FORWARD_REQUEST;