1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

uxcons: add some missing postmsg().

These would have left the terminal in the wrong termios state, if a
batch-mode Plink was run from a terminal and had to abort the
connection due to a weak crypto primitive.
This commit is contained in:
Simon Tatham 2021-03-13 09:33:56 +00:00
parent 3c6ab5bbb7
commit cb4f78e611

View File

@ -178,6 +178,7 @@ int console_confirm_weak_crypto_primitive(
if (console_batch_mode) {
fputs(console_abandoned_msg, stderr);
postmsg(&cf);
return 0;
}
@ -218,6 +219,7 @@ int console_confirm_weak_cached_hostkey(
if (console_batch_mode) {
fputs(console_abandoned_msg, stderr);
postmsg(&cf);
return 0;
}