]> andersk Git - openssh.git/blobdiff - auth-chall.c
- (djm) Sync with V_3_7 branch:
[openssh.git] / auth-chall.c
index 6b7c8bd13ba3793c8e23fc584059c45cba894e3e..00d6e0ec5a7628a73c6847997f116d1a5d41fda1 100644 (file)
@@ -92,7 +92,7 @@ verify_response(Authctxt *authctxt, const char *response)
                        xfree(info);
                }
                /* if we received more prompts, we're screwed */
-               res = (numprompts != 0);
+               res = (res == 0 && numprompts == 0) ? 0 : -1;
        }
        device->free_ctx(authctxt->kbdintctxt);
        authctxt->kbdintctxt = NULL;
This page took 0.036516 seconds and 4 git commands to generate.