1
0
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:
Simon Tatham 2021-12-27 13:02:31 +00:00
parent 60e557575e
commit 88d5bb2a22

View File

@ -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) {