diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-23 22:12:38 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-23 22:12:38 +1000 |
commit | 5c3a55846a87a40d10aaf08123e4101388d22b87 (patch) | |
tree | a45c4d5280d6302b64e7f6565715bb358e62102d /auth-chall.c | |
parent | 7ff4e6dbe588aab63f1547e917734730f388aaa4 (diff) |
- (djm) Sync with V_3_7 branch:
- (djm) Fix SSH1 challenge kludge
- (djm) Bug #671: Fix builds on OpenBSD
- (djm) Bug #676: Fix PAM stack corruption
- (djm) Fix bad free() in PAM code
- (djm) Don't call pam_end before pam_init
- (djm) Enable build with old OpenSSL again
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
Diffstat (limited to 'auth-chall.c')
-rw-r--r-- | auth-chall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-chall.c b/auth-chall.c index 6b7c8bd13..00d6e0ec5 100644 --- a/auth-chall.c +++ b/auth-chall.c | |||
@@ -92,7 +92,7 @@ verify_response(Authctxt *authctxt, const char *response) | |||
92 | xfree(info); | 92 | xfree(info); |
93 | } | 93 | } |
94 | /* if we received more prompts, we're screwed */ | 94 | /* if we received more prompts, we're screwed */ |
95 | res = (numprompts != 0); | 95 | res = (res == 0 && numprompts == 0) ? 0 : -1; |
96 | } | 96 | } |
97 | device->free_ctx(authctxt->kbdintctxt); | 97 | device->free_ctx(authctxt->kbdintctxt); |
98 | authctxt->kbdintctxt = NULL; | 98 | authctxt->kbdintctxt = NULL; |