View | Details | Raw Unified | Return to bug 1432
Collapse All | Expand All

(-)auth2.c (-1 / +1 lines)
Lines 265-271 Link Here
265
		/* now we can break out */
265
		/* now we can break out */
266
		authctxt->success = 1;
266
		authctxt->success = 1;
267
	} else {
267
	} else {
268
		if (authctxt->failures++ > options.max_authtries) {
268
		if (++authctxt->failures >= options.max_authtries) {
269
#ifdef SSH_AUDIT_EVENTS
269
#ifdef SSH_AUDIT_EVENTS
270
			PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES));
270
			PRIVSEP(audit_event(SSH_LOGIN_EXCEED_MAXTRIES));
271
#endif
271
#endif

Return to bug 1432