Remove a return path from sshcom_write() which was both unreachable
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 14 Jul 2013 10:46:39 +0000 (10:46 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 14 Jul 2013 10:46:39 +0000 (10:46 +0000)
commita607fe54c9f20934b57e29e9040b9dd0a4decf3a
tree079ccdbebe3cb8cfcb6dd63150f9f7c012427ebd
parent6873e9f8610ad4b2d7f1209a530492091c51ae19
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.

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