- djm@cvs.openbsd.org 2008/07/02 13:30:34

[auth2.c]
     really really remove the freebie "none" auth try for protocol 2
This commit is contained in:
Darren Tucker 2008-07-04 12:53:23 +10:00
parent 4230a5dc30
commit 7c99b1ceda
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
20080704
- (dtucker) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2008/07/02 13:30:34
[auth2.c]
really really remove the freebie "none" auth try for protocol 2
20080702 20080702
- (dtucker) OpenBSD CVS Sync - (dtucker) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2008/06/30 08:05:59 - djm@cvs.openbsd.org 2008/06/30 08:05:59
@ -4532,4 +4538,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@ passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.5048 2008/07/02 12:56:09 dtucker Exp $ $Id: ChangeLog,v 1.5049 2008/07/04 02:53:23 dtucker Exp $

View File

@ -1,4 +1,4 @@
/* $OpenBSD: auth2.c,v 1.117 2008/07/02 12:36:39 djm Exp $ */ /* $OpenBSD: auth2.c,v 1.118 2008/07/02 13:30:34 djm Exp $ */
/* /*
* Copyright (c) 2000 Markus Friedl. All rights reserved. * Copyright (c) 2000 Markus Friedl. All rights reserved.
* *
@ -333,7 +333,7 @@ userauth_finish(Authctxt *authctxt, int authenticated, char *method)
/* now we can break out */ /* now we can break out */
authctxt->success = 1; authctxt->success = 1;
} else { } else {
if (++authctxt->failures > options.max_authtries) { if (++authctxt->failures >= options.max_authtries) {
#ifdef SSH_AUDIT_EVENTS #ifdef SSH_AUDIT_EVENTS
PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES)); PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES));
#endif #endif