1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-14 04:18:54 +03:00

server: fix auth_interactive_request reply

Fix a missing 'buffer_pack' formatter in 'ssh_message_auth_interactive_request'.
With this fix the 'examples/samplesshd-kbdint' program is working again for me.

Signed-off-by: Jon Simons <jon@jonsimons.org>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jon Simons
2014-09-27 21:22:53 -07:00
committed by Andreas Schneider
parent a6d412f0d7
commit 509676e3a4

View File

@@ -876,7 +876,7 @@ int ssh_message_auth_interactive_request(ssh_message msg, const char *name,
}
rc = ssh_buffer_pack(msg->session->out_buffer,
"bsss",
"bsssd",
SSH2_MSG_USERAUTH_INFO_REQUEST,
name,
instruction,