mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 05:51:20 +01: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
|
||||
if (strlen($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(
|
||||
'UNKNOWN',
|
||||
'NET_SSH2_MSG_USERAUTH_INFO_REQUEST',
|
||||
@ -3193,4 +3193,4 @@ class Net_SSH2 {
|
||||
}
|
||||
return $this->exit_status;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user