]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove a return path from sshcom_write() which was both unreachable
authorSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:46:39 +0000 (10:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 14 Jul 2013 10:46:39 +0000 (10:46 +0000)
(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.

[originally from svn r9924]


No differences found