- (bal) auth2.c same changed as above.

This commit is contained in:
Ben Lindstrom 2003-04-27 18:44:31 +00:00
parent 683036ee2c
commit f50ad1fd04
2 changed files with 3 additions and 3 deletions

View File

@ -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 $

View File

@ -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);