1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 04:22:47 -05:00

Seat method to set the current trust status.

In terminal-based GUI applications, this is passed through to
term_set_trust_status, to toggle whether lines are prefixed with the
new trust sigil. In console applications, the function returns false,
indicating to the backend that it should employ some other technique
for spoofing protection.
This commit is contained in:
Simon Tatham
2019-03-10 14:42:11 +00:00
parent 9c367eba4c
commit 76d8d363be
20 changed files with 105 additions and 12 deletions

View File

@ -288,6 +288,9 @@ static const char *serial_init(Seat *seat, Backend **backend_handle,
const char *err;
char *line;
/* No local authentication phase in this protocol */
seat_set_trust_status(seat, false);
serial = snew(Serial);
serial->backend.vt = &serial_backend;
*backend_handle = &serial->backend;