mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-27 13:21:11 +03:00
Fix ssh_send_issue_banner() for CMD(PowerShell)
Signed-off-by: Seung Min Park <smpark@pnpsecure.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
committed by
Jakub Jelen
parent
3c272d00fb
commit
2074fb1948
@@ -535,9 +535,10 @@ int ssh_send_issue_banner(ssh_session session, const ssh_string banner)
|
||||
"Sending a server issue banner");
|
||||
|
||||
rc = ssh_buffer_pack(session->out_buffer,
|
||||
"bS",
|
||||
"bSs",
|
||||
SSH2_MSG_USERAUTH_BANNER,
|
||||
banner);
|
||||
banner,
|
||||
"");
|
||||
if (rc != SSH_OK) {
|
||||
ssh_set_error_oom(session);
|
||||
return SSH_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user