simon-svn: putty: ben

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sun Jul 24 14:46:15 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     ben
Revision:       6138
Date:           2005-07-24 14:46:14 +0100 (Sun, 24 Jul 2005)

Log message (5 lines):
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.

Modified files:
U   putty/ssh.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6138&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/putty/ssh.c?rev=6138&r1=6137&r2=6138



More information about the tartarus-commits mailing list