mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-11 16:15:52 +00:00
SSH2: fix E_NOTICE in keyboard interactive code
Thanks ravage84!
This commit is contained in:
parent
141da70f1a
commit
d6ee41d957
@ -1721,7 +1721,7 @@ class Net_SSH2 {
|
|||||||
// see http://tools.ietf.org/html/rfc4256#section-3.2
|
// see http://tools.ietf.org/html/rfc4256#section-3.2
|
||||||
if (strlen($this->last_interactive_response)) {
|
if (strlen($this->last_interactive_response)) {
|
||||||
$this->last_interactive_response = '';
|
$this->last_interactive_response = '';
|
||||||
} else {
|
} else if (defined('NET_SSH2_LOGGING')) {
|
||||||
$this->message_number_log[count($this->message_number_log) - 1] = str_replace(
|
$this->message_number_log[count($this->message_number_log) - 1] = str_replace(
|
||||||
'UNKNOWN',
|
'UNKNOWN',
|
||||||
'NET_SSH2_MSG_USERAUTH_INFO_REQUEST',
|
'NET_SSH2_MSG_USERAUTH_INFO_REQUEST',
|
||||||
|
Loading…
Reference in New Issue
Block a user