diff options
Diffstat (limited to 'auth2-chall.c')
-rw-r--r-- | auth2-chall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index 384a543ee..4e2b1e856 100644 --- a/auth2-chall.c +++ b/auth2-chall.c | |||
@@ -299,6 +299,8 @@ input_userauth_info_response(int type, u_int32_t seq, void *ctxt) | |||
299 | packet_check_eom(); | 299 | packet_check_eom(); |
300 | 300 | ||
301 | res = kbdintctxt->device->respond(kbdintctxt->ctxt, nresp, response); | 301 | res = kbdintctxt->device->respond(kbdintctxt->ctxt, nresp, response); |
302 | if (!authctxt->valid) | ||
303 | res = 1; /* keep going if login invalid */ | ||
302 | 304 | ||
303 | for (i = 0; i < nresp; i++) { | 305 | for (i = 0; i < nresp; i++) { |
304 | memset(response[i], 'r', strlen(response[i])); | 306 | memset(response[i], 'r', strlen(response[i])); |