From 40d9a63788e66d3d330fbf76fbdfd9cc437cb334 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 4 Feb 2005 15:19:44 +1100 Subject: - (dtucker) [auth.c] Fix parens in audit log check. --- auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth.c') diff --git a/auth.c b/auth.c index bbf3a54a..4b62ad8f 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 -- cgit v1.2.3