summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-04 05:19:44 +0100
committerDarren Tucker <dtucker@zip.com.au>2005-02-04 05:19:44 +0100
commit40d9a63788e66d3d330fbf76fbdfd9cc437cb334 (patch)
tree78576e590ca8edda52bebb5434602e2de078b75e /auth.c
parent - (dtucker) [monitor.c] Permit INVALID_USER audit events from slave too. (diff)
downloadopenssh-40d9a63788e66d3d330fbf76fbdfd9cc437cb334.tar.xz
openssh-40d9a63788e66d3d330fbf76fbdfd9cc437cb334.zip
- (dtucker) [auth.c] Fix parens in audit log check.
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 bbf3a54a4..4b62ad8f7 100644
--- a/auth.c
+++ b/auth.c
@@ -247,8 +247,8 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info)
#ifdef CUSTOM_FAILED_LOGIN
if (authenticated == 0 && !authctxt->postponed &&
(strcmp(method, "password") == 0 ||
- strncmp(method, "keyboard-interactive", 20) == 0) ||
- strcmp(method, "challenge-response") == 0)
+ strncmp(method, "keyboard-interactive", 20) == 0 ||
+ strcmp(method, "challenge-response") == 0))
record_failed_login(authctxt->user,
get_canonical_hostname(options.use_dns), "ssh");
#endif