Handle more gracefully the possibility of a keyboard-interactive
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 3 Mar 2009 18:35:53 +0000 (18:35 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 3 Mar 2009 18:35:53 +0000 (18:35 +0000)
commitcbe80b7552d1012f023f702fe3ca31750047f362
treea824859b4ab62b8e75433b551b41814da33ab4f3
parent0996dd4c856a3852a92cb7f17cf3fb78a286c075
Handle more gracefully the possibility of a keyboard-interactive
prompts packet containing no actual prompts (perhaps due to odd
server organisation, or perhaps so it can print a banner message and
do nothing else). Previously, the get_userpass_input functions
always returned failure when in '-batch' mode, even in this case
where no actual input would be required.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8490 cda61777-01e9-0310-a592-d414129be87e
unix/uxcons.c
windows/wincons.c