mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Revert to vendor version, what little was left of our local patches here
was incorrect. Pointed out by: Markus Friedl <markus@openbsd.org>
This commit is contained in:
parent
c53c013bae
commit
5297e48d04
1 changed files with 2 additions and 2 deletions
|
|
@ -457,7 +457,7 @@ userauth_passwd(Authctxt *authctxt)
|
|||
packet_put_cstring(authctxt->service);
|
||||
packet_put_cstring(authctxt->method->name);
|
||||
packet_put_char(0);
|
||||
ssh_put_password(password);
|
||||
packet_put_cstring(password);
|
||||
memset(password, 0, strlen(password));
|
||||
xfree(password);
|
||||
packet_add_padding(64);
|
||||
|
|
@ -810,7 +810,7 @@ input_userauth_info_req(int type, u_int32_t seq, void *ctxt)
|
|||
|
||||
response = read_passphrase(prompt, echo ? RP_ECHO : 0);
|
||||
|
||||
ssh_put_password(response);
|
||||
packet_put_cstring(response);
|
||||
memset(response, 0, strlen(response));
|
||||
xfree(response);
|
||||
xfree(prompt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue