summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-04 15:19:44 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-04 15:19:44 +1100
commit40d9a63788e66d3d330fbf76fbdfd9cc437cb334 (patch)
tree78576e590ca8edda52bebb5434602e2de078b75e
parent598ba7b5e20e8b4cb023069ad86a97b4032aa3da (diff)
- (dtucker) [auth.c] Fix parens in audit log check.
-rw-r--r--ChangeLog3
-rw-r--r--auth.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c8f65b46b..9c36570c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
120050204 120050204
2 - (dtucker) [monitor.c] Permit INVALID_USER audit events from slave too. 2 - (dtucker) [monitor.c] Permit INVALID_USER audit events from slave too.
3 - (dtucker) [auth.c] Fix parens in audit log check.
3 4
420050202 520050202
5 - (dtucker) [configure.ac openbsd-compat/realpath.c] Sync up with realpath 6 - (dtucker) [configure.ac openbsd-compat/realpath.c] Sync up with realpath
@@ -2075,4 +2076,4 @@
2075 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2076 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2076 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2077 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2077 2078
2078$Id: ChangeLog,v 1.3635 2005/02/04 04:05:08 dtucker Exp $ 2079$Id: ChangeLog,v 1.3636 2005/02/04 04:19:44 dtucker Exp $
diff --git a/auth.c b/auth.c
index bbf3a54a4..4b62ad8f7 100644
--- a/auth.c
+++ b/auth.c
@@ -247,8 +247,8 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)
247#ifdef CUSTOM_FAILED_LOGIN 247#ifdef CUSTOM_FAILED_LOGIN
248 if (authenticated == 0 && !authctxt->postponed && 248 if (authenticated == 0 && !authctxt->postponed &&
249 (strcmp(method, "password") == 0 || 249 (strcmp(method, "password") == 0 ||
250 strncmp(method, "keyboard-interactive", 20) == 0) || 250 strncmp(method, "keyboard-interactive", 20) == 0 ||
251 strcmp(method, "challenge-response") == 0) 251 strcmp(method, "challenge-response") == 0))
252 record_failed_login(authctxt->user, 252 record_failed_login(authctxt->user,
253 get_canonical_hostname(options.use_dns), "ssh"); 253 get_canonical_hostname(options.use_dns), "ssh");
254#endif 254#endif