]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
draft-ietf-secsh-transport-24 says that only "SSH-" at the start of a line
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Jul 2005 13:46:14 +0000 (13:46 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Jul 2005 13:46:14 +0000 (13:46 +0000)
marks a version string.  It's a bit vague about the definition of a line,
but I think it's reasonable to assume that they'll end with LF.  Change
do_ssh_init() to ignore "SSH-" anywhere else.  This makes the existing state
machine overkill, so replace it with something a little more readable.

[originally from svn r6138]


No differences found