summaryrefslogtreecommitdiff
path: root/auth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2.c')
-rw-r--r--auth2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth2.c b/auth2.c
index a5490c009..6572381cb 100644
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2.c,v 1.130 2014/01/29 06:18:35 djm Exp $ */ 1/* $OpenBSD: auth2.c,v 1.131 2014/07/03 11:16:55 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -362,7 +362,7 @@ userauth_finish(Authctxt *authctxt, int authenticated, const char *method,
362#ifdef SSH_AUDIT_EVENTS 362#ifdef SSH_AUDIT_EVENTS
363 PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES)); 363 PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES));
364#endif 364#endif
365 packet_disconnect(AUTH_FAIL_MSG, authctxt->user); 365 auth_maxtries_exceeded(authctxt);
366 } 366 }
367 methods = authmethods_get(authctxt); 367 methods = authmethods_get(authctxt);
368 debug3("%s: failure partial=%d next methods=\"%s\"", __func__, 368 debug3("%s: failure partial=%d next methods=\"%s\"", __func__,