simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Jul 14 11:46:39 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9924
Date:           2013-07-14 11:46:39 +0100 (Sun, 14 Jul 2013)

Log message (6 lines):
Remove a return path from sshcom_write() which was both unreachable
(it would trigger if !type==RSA and !type==DSA, but one of those must
have been true to get there in the first place) and erroneous (it
would return NULL without going through the cleanup code). Since the
code's internal structure guarantees that path isn't reached, replace
it with an assert.

Modified files:
U   putty/import.c

Links:
http://svn.tartarus.org/sgt/?rev=9924&view=rev
http://svn.tartarus.org/sgt/putty/import.c?rev=9924&r1=9923&r2=9924



More information about the tartarus-commits mailing list