diff options
author | Damien Miller <djm@mindrot.org> | 2003-09-23 19:24:21 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-09-23 19:24:21 +1000 |
commit | e043e8e2211ee07e98f95fe975cca56959eb6c59 (patch) | |
tree | 862aceabb43ef9c0ce7400e1ca981033e17df61d /auth-chall.c | |
parent | 03575cc07de0c67586e56a5e1ee2d3a3ee35300c (diff) |
- (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; |