userauth: Fixed prompt text no longer being copied to the prompts struct
Regression from 031566f9c
This commit is contained in:
parent
33e1013d7b
commit
fe3e23022b
@ -1540,6 +1540,8 @@ userauth_keyboard_interactive(LIBSSH2_SESSION * session,
|
||||
"keyboard-interactive prompt message");
|
||||
goto cleanup;
|
||||
}
|
||||
memcpy(session->userauth_kybd_prompts[i].text, s,
|
||||
session->userauth_kybd_prompts[i].length);
|
||||
s += session->userauth_kybd_prompts[i].length;
|
||||
|
||||
/* boolean echo[1] */
|
||||
|
Loading…
x
Reference in New Issue
Block a user