From 7631875d41d3eec6116ce9f132058a278df513f1 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 20 Mar 2019 15:07:32 +0000 Subject: [PATCH] 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. --- unix/gtkwin.c | 1 + windows/window.c | 1 + 2 files changed, 2 insertions(+) diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 395262bc..8859a58b 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -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), diff --git a/windows/window.c b/windows/window.c index 0287cc8b..d219b3b1 100644 --- a/windows/window.c +++ b/windows/window.c @@ -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),