mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Remove unused params from console_get_userpass_input.
NFC: this is a preliminary refactoring, intended to make my life easier when I start changing around the APIs used to pass user keyboard input around. The fewer functions even _have_ such an API, the less I'll have to do at that point.
This commit is contained in:
@ -355,8 +355,7 @@ static void console_data_untrusted(HANDLE hout, const char *data, int len)
|
||||
WriteFile(hout, data, len, &dummy, NULL);
|
||||
}
|
||||
|
||||
int console_get_userpass_input(prompts_t *p,
|
||||
const unsigned char *in, int inlen)
|
||||
int console_get_userpass_input(prompts_t *p)
|
||||
{
|
||||
HANDLE hin, hout;
|
||||
size_t curr_prompt;
|
||||
|
Reference in New Issue
Block a user