Someone complained that their keyboard-interactive password prompt was being
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 17 Aug 2004 14:08:05 +0000 (14:08 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 17 Aug 2004 14:08:05 +0000 (14:08 +0000)
commit85fdbe25363bae14c93ee50f4239bc500d86d324
tree65dbff8729ab44d0d5ab4cd9a2e80fcd458d8b88
parent28da9e3d2d3286097d3c56ef9e8d0327f4ebb7c2
Someone complained that their keyboard-interactive password prompt was being
truncated - it was from OpenSSH on HP/UX and had all sorts of stuff in it
("last successful login" etc).

Bodged it by bumping up the space allocated in the fixed array for a password
prompt. Also added an indication that the prompt is being truncated, as
required by draft-ietf-secsh-auth-kbdinteract-06.

(NB that before this checkin, there was a more-or-less harmless buffer overread
where if we ever received a keyboard-interactive prompt with echo=1, we'd
probably spew goo on the terminal; fixed now.)

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