From: ben Date: Sun, 24 Jul 2005 13:46:14 +0000 (+0000) Subject: draft-ietf-secsh-transport-24 says that only "SSH-" at the start of a line X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/8c1835c0f951be43da1fb19405c7ff958a9b8661?ds=sidebyside;hp=8c1835c0f951be43da1fb19405c7ff958a9b8661 draft-ietf-secsh-transport-24 says that only "SSH-" at the start of a line 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 ---