mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-02 17:52:59 +01:00
Remove unused fields from pack()
This commit is contained in:
parent
346bc5dcc8
commit
ff94576315
@ -1474,7 +1474,7 @@ class Net_SSH2 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($password)) {
|
if (!isset($password)) {
|
||||||
$packet = pack('CNa*Na*Na*CNa*',
|
$packet = pack('CNa*Na*Na*',
|
||||||
NET_SSH2_MSG_USERAUTH_REQUEST, strlen($username), $username, strlen('ssh-connection'), 'ssh-connection',
|
NET_SSH2_MSG_USERAUTH_REQUEST, strlen($username), $username, strlen('ssh-connection'), 'ssh-connection',
|
||||||
strlen('none'), 'none'
|
strlen('none'), 'none'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user