summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/auth2.c b/auth2.c
index 3cfba7a6a..29bbdf4fb 100644
--- a/auth2.c
+++ b/auth2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth2.c,v 1.74 2001/12/05 03:56:39 itojun Exp $"); 26RCSID("$OpenBSD: auth2.c,v 1.75 2001/12/09 18:45:56 markus Exp $");
27 27
28#include <openssl/evp.h> 28#include <openssl/evp.h>
29 29
@@ -220,14 +220,8 @@ input_userauth_request(int type, int plen, void *ctxt)
220 authctxt->user, authctxt->service, user, service); 220 authctxt->user, authctxt->service, user, service);
221 } 221 }
222 /* reset state */ 222 /* reset state */
223 dispatch_set(SSH2_MSG_USERAUTH_INFO_RESPONSE, &protocol_error); 223 auth2_challenge_stop(authctxt);
224 authctxt->postponed = 0; 224 authctxt->postponed = 0;
225#ifdef BSD_AUTH
226 if (authctxt->as) {
227 auth_close(authctxt->as);
228 authctxt->as = NULL;
229 }
230#endif
231 225
232 /* try to authenticate user */ 226 /* try to authenticate user */
233 m = authmethod_lookup(method); 227 m = authmethod_lookup(method);