mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Cosmetic fix: double indentation in an if statement.
Not sure how that happened, but since I've spotted it, let's fix it.
This commit is contained in:
parent
60e557575e
commit
88d5bb2a22
@ -1310,18 +1310,18 @@ static void ssh2_transport_process_queue(PacketProtocolLayer *ppl)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (betteralgs) {
|
if (betteralgs) {
|
||||||
/* Use the special warning prompt that lets us provide
|
/* Use the special warning prompt that lets us provide
|
||||||
* a list of better algorithms */
|
* a list of better algorithms */
|
||||||
s->dlgret = seat_confirm_weak_cached_hostkey(
|
s->dlgret = seat_confirm_weak_cached_hostkey(
|
||||||
ppl_get_iseat(&s->ppl), s->hostkey_alg->ssh_id, betteralgs,
|
ppl_get_iseat(&s->ppl), s->hostkey_alg->ssh_id, betteralgs,
|
||||||
ssh2_transport_dialog_callback, s);
|
ssh2_transport_dialog_callback, s);
|
||||||
sfree(betteralgs);
|
sfree(betteralgs);
|
||||||
} else {
|
} else {
|
||||||
/* If none exist, use the more general 'weak crypto'
|
/* If none exist, use the more general 'weak crypto'
|
||||||
* warning prompt */
|
* warning prompt */
|
||||||
s->dlgret = ssh2_transport_confirm_weak_crypto_primitive(
|
s->dlgret = ssh2_transport_confirm_weak_crypto_primitive(
|
||||||
s, "host key type", s->hostkey_alg->ssh_id,
|
s, "host key type", s->hostkey_alg->ssh_id,
|
||||||
s->hostkey_alg);
|
s->hostkey_alg);
|
||||||
}
|
}
|
||||||
crMaybeWaitUntilV(s->dlgret >= 0);
|
crMaybeWaitUntilV(s->dlgret >= 0);
|
||||||
if (s->dlgret == 0) {
|
if (s->dlgret == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user