]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
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)
commit1dabc578a9419783836b4808a9afc265ab2e718c
tree079ccdbebe3cb8cfcb6dd63150f9f7c012427ebd
parent7554dd5a9c39f035a0a71a6e2ccb10e64f80d313
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.

[originally from svn r9924]
import.c