Fix culpable lack of generality in keyboard-interactive
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 3 Aug 2002 16:22:55 +0000 (16:22 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 3 Aug 2002 16:22:55 +0000 (16:22 +0000)
commit45068b27ffaad631038b864b810cb090fee6f7e7
tree934c5391863fefb4d02838d59ed1baf797d1494f
parent59f76022ba5d26b64fb06b07c947808ef3457052
Fix culpable lack of generality in keyboard-interactive
authentication: a k-i request packet can contain any number of auth
prompts (including zero!) and we must ask the user all of them and
send back a packet containing the same number of responses. FreeBSD
systems were sending a zero-prompts packet which was crashing us;
this now appears fixed (we correctly return a zero-responses packet)
but I haven't tested a multiple-prompts packet because I can't
immediately think of a server that generates them.

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