1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Print 'instruction' field in keyboard-interactive auth.

When I reworked this code to make it strbuf-based, I apparently forgot
to copy the contents of one particular strbuf into the prompts_t.
This commit is contained in:
Simon Tatham 2019-05-10 10:26:05 +01:00
parent 4135e5d295
commit 64a9b3ed67

View File

@ -1310,6 +1310,8 @@ static void ssh2_userauth_process_queue(PacketProtocolLayer *ppl)
} else {
s->cur_prompt->instr_reqd = false;
}
if (sb->len)
s->cur_prompt->instruction = strbuf_to_str(sb);
/*
* Our prompts_t is fully constructed now. Get the