Tartarus CVS: putty simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Sat, 03 Aug 2002 17:22:56 +0100


CVSROOT:	/home/cvs
Module name:	putty
Changes by:	simon	02/08/03 17:22:56

Modified files:
	.              : ssh.c 

Log message:
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.