]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix culpable lack of generality in keyboard-interactive
authorSimon Tatham <anakin@pobox.com>
Sat, 3 Aug 2002 16:22:55 +0000 (16:22 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 3 Aug 2002 16:22:55 +0000 (16:22 +0000)
commit949cecd569fc1f6876f35cb19a067462add74ab8
tree934c5391863fefb4d02838d59ed1baf797d1494f
parent73e32fb7c0bff7c07e528776ec9392bf9ba55ea8
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.

[originally from svn r1797]
ssh.c