mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
Merge recent misc fixes from 'pre-0.77'.
This commit is contained in:
@ -131,6 +131,8 @@ static int kbd_codepage;
|
||||
static Ldisc *ldisc;
|
||||
static Backend *backend;
|
||||
|
||||
static cmdline_get_passwd_input_state cmdline_get_passwd_state;
|
||||
|
||||
static struct unicode_data ucsdata;
|
||||
static bool session_closed;
|
||||
static bool reconfiguring = false;
|
||||
@ -366,6 +368,8 @@ static void start_backend(void)
|
||||
char *error, *realhost;
|
||||
int i;
|
||||
|
||||
cmdline_get_passwd_state = cmdline_get_passwd_input_state_new;
|
||||
|
||||
vt = backend_vt_from_conf(conf);
|
||||
|
||||
seat_set_trust_status(&wgs.seat, true);
|
||||
@ -5860,7 +5864,7 @@ static bool win_seat_eof(Seat *seat)
|
||||
static SeatPromptResult win_seat_get_userpass_input(Seat *seat, prompts_t *p)
|
||||
{
|
||||
SeatPromptResult spr;
|
||||
spr = cmdline_get_passwd_input(p);
|
||||
spr = cmdline_get_passwd_input(p, &cmdline_get_passwd_state, true);
|
||||
if (spr.kind == SPRK_INCOMPLETE)
|
||||
spr = term_get_userpass_input(term, p);
|
||||
return spr;
|
||||
|
Reference in New Issue
Block a user