summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth.c b/auth.c
index 4f93ce5ae..ef3cdba3c 100644
--- a/auth.c
+++ b/auth.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth.c,v 1.53 2004/05/11 19:01:43 deraadt Exp $"); 26RCSID("$OpenBSD: auth.c,v 1.54 2004/05/23 23:59:53 dtucker Exp $");
27 27
28#ifdef HAVE_LOGIN_H 28#ifdef HAVE_LOGIN_H
29#include <login.h> 29#include <login.h>
@@ -242,7 +242,7 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)
242 /* Raise logging level */ 242 /* Raise logging level */
243 if (authenticated == 1 || 243 if (authenticated == 1 ||
244 !authctxt->valid || 244 !authctxt->valid ||
245 authctxt->failures >= AUTH_FAIL_LOG || 245 authctxt->failures >= options.max_authtries / 2 ||
246 strcmp(method, "password") == 0) 246 strcmp(method, "password") == 0)
247 authlog = logit; 247 authlog = logit;
248 248