]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Another failure to crStop(0) on user abort, this time for SSH-1 cipher
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 20 Feb 2005 21:00:16 +0000 (21:00 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 20 Feb 2005 21:00:16 +0000 (21:00 +0000)
askalg(). That should be the last one.

[originally from svn r5369]

ssh.c

diff --git a/ssh.c b/ssh.c
index ccc7ccca0be2224cf1b2f06752e1629c4323b2ef..b9d906d83e74a9db85035ca18ca0e24003f70d04 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -3014,6 +3014,7 @@ static int do_ssh1_login(Ssh ssh, unsigned char *in, int inlen,
            if (s->dlgret == 0) {
                ssh->close_expected = TRUE;
                ssh_closing((Plug)ssh, NULL, 0, 0);
+               crStop(0);
            }
         }
     }