1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

If we got a keyboard-interactive INFO_REQUEST with an "instruction" string but

no actual prompts, we weren't displaying the former, which was wrong. We
should now (although I haven't found a server to test it against).

[originally from svn r8172]
This commit is contained in:
Jacob Nevins
2008-09-09 20:36:40 +00:00
parent 922ae38450
commit 211fdb9f46
2 changed files with 7 additions and 5 deletions

View File

@ -686,7 +686,8 @@ typedef struct {
int name_reqd; /* Display of `name' required or optional? */
char *instruction; /* Long description, maybe with embedded newlines */
int instr_reqd; /* Display of `instruction' required or optional? */
size_t n_prompts;
size_t n_prompts; /* May be zero (in which case display the foregoing,
* if any, and return success) */
prompt_t **prompts;
void *frontend;
void *data; /* slot for housekeeping data, managed by