From 67279d78111703bee3a6eac2e97ee65c2e403278 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 6 Sep 2014 20:30:01 -0500 Subject: [PATCH] SSH2: rm unused constant it doesn't need to be defined since the strlen($this->last_interactive_response) check in _login_helper serves the same purpose that NET_SSH_MASK_LOGIN_INTERACTIVE was intended to serve --- phpseclib/Net/SSH2.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 63ce68f8..2b1868f3 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -2079,7 +2079,6 @@ class Net_SSH2 if (!count($responses) && $num_prompts) { $this->last_interactive_response = $orig; - $this->bitmap |= NET_SSH_MASK_LOGIN_INTERACTIVE; return false; }