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:
committed by
Andreas Schneider
parent
a6d412f0d7
commit
509676e3a4
@@ -876,7 +876,7 @@ int ssh_message_auth_interactive_request(ssh_message msg, const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
rc = ssh_buffer_pack(msg->session->out_buffer,
|
rc = ssh_buffer_pack(msg->session->out_buffer,
|
||||||
"bsss",
|
"bsssd",
|
||||||
SSH2_MSG_USERAUTH_INFO_REQUEST,
|
SSH2_MSG_USERAUTH_INFO_REQUEST,
|
||||||
name,
|
name,
|
||||||
instruction,
|
instruction,
|
||||||
|
|||||||
Reference in New Issue
Block a user