diff options
Diffstat (limited to 'cli-authpasswd.c')
-rw-r--r-- | cli-authpasswd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-authpasswd.c b/cli-authpasswd.c index 1e0bd41..3cf49a2 100644 --- a/cli-authpasswd.c +++ b/cli-authpasswd.c @@ -143,10 +143,10 @@ void cli_auth_password() { buf_putstring(ses.writepayload, cli_opts.username, strlen(cli_opts.username)); - buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION, + buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION, SSH_SERVICE_CONNECTION_LEN); - buf_putstring(ses.writepayload, AUTH_METHOD_PASSWORD, + buf_putstring(ses.writepayload, AUTH_METHOD_PASSWORD, AUTH_METHOD_PASSWORD_LEN); buf_putbyte(ses.writepayload, 0); /* FALSE - so says the spec */ |