From f50ad1fd04fa23af4968f406c5993869f0aeee61 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Sun, 27 Apr 2003 18:44:31 +0000 Subject: - (bal) auth2.c same changed as above. --- ChangeLog | 3 ++- auth2.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c4348ab0..0e9fc354 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ - (bal) Since we don't support platforms lacking u_int_64. We may as well clean out some of those evil #ifdefs - (bal) auth1.c minor resync while looking at the code. + - (bal) auth2.c same changed as above. 20030409 - (djm) Bug #539: Specify creation mode with O_CREAT for lastlog. Report @@ -1344,4 +1345,4 @@ save auth method before monitor_reset_key_state(); bugzilla bug #284; ok provos@ -$Id: ChangeLog,v 1.2661 2003/04/27 18:41:30 mouring Exp $ +$Id: ChangeLog,v 1.2662 2003/04/27 18:44:31 mouring Exp $ diff --git a/auth2.c b/auth2.c index cfaac5f7..9c491996 100644 --- a/auth2.c +++ b/auth2.c @@ -238,9 +238,8 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method) /* now we can break out */ authctxt->success = 1; } else { - if (authctxt->failures++ > AUTH_FAIL_MAX) { + if (authctxt->failures++ > AUTH_FAIL_MAX) packet_disconnect(AUTH_FAIL_MSG, authctxt->user); - } #ifdef _UNICOS if (strcmp(method, "password") == 0) cray_login_failure(authctxt->user, IA_UDBERR); -- cgit v1.2.3