From 2eae2989f47a8e4ec346c055bc2653929e59e681 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 12 Jan 2021 23:20:47 -0600 Subject: [PATCH] SSH2: adjustments for 2.0 branch --- phpseclib/Net/SSH2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 2927b726..f3816c00 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -2636,7 +2636,7 @@ class SSH2 $this->_updateLogHistory('UNKNOWN (60)', 'NET_SSH2_MSG_USERAUTH_PK_OK'); break; case NET_SSH2_MSG_USERAUTH_SUCCESS: - $this->bitmap |= NET_SSH2_MASK_LOGIN; + $this->bitmap |= self::MASK_LOGIN; return true; default: user_error('Unexpected response to publickey authentication pt 1');