From 88d5bb2a222470f1f615d96384f3701f1406790d Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 27 Dec 2021 13:02:31 +0000 Subject: [PATCH] Cosmetic fix: double indentation in an if statement. Not sure how that happened, but since I've spotted it, let's fix it. --- ssh/transport2.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ssh/transport2.c b/ssh/transport2.c index 3c8fb382..0ba937f3 100644 --- a/ssh/transport2.c +++ b/ssh/transport2.c @@ -1310,18 +1310,18 @@ static void ssh2_transport_process_queue(PacketProtocolLayer *ppl) } } if (betteralgs) { - /* Use the special warning prompt that lets us provide - * a list of better algorithms */ - s->dlgret = seat_confirm_weak_cached_hostkey( - ppl_get_iseat(&s->ppl), s->hostkey_alg->ssh_id, betteralgs, - ssh2_transport_dialog_callback, s); + /* Use the special warning prompt that lets us provide + * a list of better algorithms */ + s->dlgret = seat_confirm_weak_cached_hostkey( + ppl_get_iseat(&s->ppl), s->hostkey_alg->ssh_id, betteralgs, + ssh2_transport_dialog_callback, s); sfree(betteralgs); } else { - /* If none exist, use the more general 'weak crypto' - * warning prompt */ - s->dlgret = ssh2_transport_confirm_weak_crypto_primitive( - s, "host key type", s->hostkey_alg->ssh_id, - s->hostkey_alg); + /* If none exist, use the more general 'weak crypto' + * warning prompt */ + s->dlgret = ssh2_transport_confirm_weak_crypto_primitive( + s, "host key type", s->hostkey_alg->ssh_id, + s->hostkey_alg); } crMaybeWaitUntilV(s->dlgret >= 0); if (s->dlgret == 0) {