diff options
author | Damien Miller <djm@mindrot.org> | 2001-12-21 12:42:34 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-12-21 12:42:34 +1100 |
commit | ee11625d4309da4d4eb7a307a2a58f35354a001a (patch) | |
tree | 11bf0af76b554ec62d238faf1861211763ae18e2 /auth2.c | |
parent | 3afe375fd288327716a4a6f1cfc05b1ff6535152 (diff) | |
download | openssh-git-ee11625d4309da4d4eb7a307a2a58f35354a001a.tar.gz |
- markus@cvs.openbsd.org 2001/12/09 18:45:56
[auth2.c auth2-chall.c auth.h]
add auth2_challenge_stop(), simplifies cleanup of kbd-int sessions,
fixes memleak.
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.74 2001/12/05 03:56:39 itojun Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.75 2001/12/09 18:45:56 markus Exp $"); #include <openssl/evp.h> @@ -220,14 +220,8 @@ input_userauth_request(int type, int plen, void *ctxt) authctxt->user, authctxt->service, user, service); } /* reset state */ - dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE, &protocol_error); + auth2_challenge_stop(authctxt); authctxt->postponed = 0; -#ifdef BSD_AUTH - if (authctxt->as) { - auth_close(authctxt->as); - authctxt->as = NULL; - } -#endif /* try to authenticate user */ m = authmethod_lookup(method); |