mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 06:38:37 -05: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:
parent
3c6ab5bbb7
commit
cb4f78e611
@ -178,6 +178,7 @@ int console_confirm_weak_crypto_primitive(
|
|||||||
|
|
||||||
if (console_batch_mode) {
|
if (console_batch_mode) {
|
||||||
fputs(console_abandoned_msg, stderr);
|
fputs(console_abandoned_msg, stderr);
|
||||||
|
postmsg(&cf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -218,6 +219,7 @@ int console_confirm_weak_cached_hostkey(
|
|||||||
|
|
||||||
if (console_batch_mode) {
|
if (console_batch_mode) {
|
||||||
fputs(console_abandoned_msg, stderr);
|
fputs(console_abandoned_msg, stderr);
|
||||||
|
postmsg(&cf);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user