projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In SSH-2 mode, PuTTY wasn't sending KEXINIT until it had received one from the
[u/mdw/putty]
/
ssh.c
diff --git
a/ssh.c
b/ssh.c
index
0f6793a
..
bd8db8d
100644
(file)
--- a/
ssh.c
+++ b/
ssh.c
@@
-2410,6
+2410,8
@@
static int do_ssh_init(Ssh ssh, unsigned char c)
strcspn(verstring, "\015\012"), verstring);
sk_write(ssh->s, verstring, strlen(verstring));
sfree(verstring);
+ if (ssh->version = 2)
+ do_ssh2_transport(ssh, NULL, -1, NULL);
}
logeventf(ssh, "Using SSH protocol version %d", ssh->version);