Index: auth2-chall.c
===================================================================
RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth2-chall.c,v
retrieving revision 1.22
diff -u -p -r1.22 auth2-chall.c
--- auth2-chall.c	26 May 2003 11:36:13 -0000	1.22
+++ auth2-chall.c	1 Jun 2004 23:55:21 -0000
@@ -275,12 +275,10 @@ input_userauth_info_response(int type, u
 	}
 	packet_check_eom();
 
-	if (authctxt->valid) {
-		res = kbdintctxt->device->respond(kbdintctxt->ctxt,
-		    nresp, response);
-	} else {
-		res = -1;
-	}
+	res = kbdintctxt->device->respond(kbdintctxt->ctxt,
+	    nresp, response);
+	if (!authctxt->valid)
+		res = 1;	/* keep going if login invalid */
 
 	for (i = 0; i < nresp; i++) {
 		memset(response[i], 'r', strlen(response[i]));
