draft-ietf-secsh-transport-24 says that only "SSH-" at the start of a line
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 24 Jul 2005 13:46:14 +0000 (13:46 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
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.

git-svn-id: svn://svn.tartarus.org/sgt/putty@6138 cda61777-01e9-0310-a592-d414129be87e


No differences found