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

Re-enable trust sigils on Restart Session.

In my eagerness to make sure we didn't _accidentally_ change the
seat's trust status back to trusted at any point, I forgot to do it on
purpose if a second SSH login phase is legitimately run in the same
terminal after the first session has ended.
This commit is contained in:
Simon Tatham 2019-03-20 15:07:32 +00:00
parent f6d1fef2d7
commit 7631875d41
2 changed files with 2 additions and 0 deletions

View File

@ -5059,6 +5059,7 @@ static void start_backend(GtkFrontend *inst)
vt = select_backend(inst->conf);
seat_set_trust_status(&inst->seat, true);
error = backend_init(vt, &inst->seat, &inst->backend,
inst->logctx, inst->conf,
conf_get_str(inst->conf, CONF_host),

View File

@ -385,6 +385,7 @@ static void start_backend(void)
cleanup_exit(1);
}
seat_set_trust_status(win_seat, true);
error = backend_init(vt, win_seat, &backend, logctx, conf,
conf_get_str(conf, CONF_host),
conf_get_int(conf, CONF_port),