diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-09-24 18:24:27 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-09-24 18:24:27 +0000 |
| commit | 7961e4846792cd35f0077c74e435f50e0fdb2abe (patch) | |
| tree | 9287baf45b773b3aba87a332af3715cfae09dace | |
| parent | 00dc18b5a81d05592ab4d139b91123d7af22c396 (diff) | |
Notes
| -rw-r--r-- | crypto/openssh/auth-chall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/auth-chall.c b/crypto/openssh/auth-chall.c index 1daa1441887d..6fff89273331 100644 --- a/crypto/openssh/auth-chall.c +++ b/crypto/openssh/auth-chall.c @@ -93,7 +93,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; |
