diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-02-04 15:19:44 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-02-04 15:19:44 +1100 |
commit | 40d9a63788e66d3d330fbf76fbdfd9cc437cb334 (patch) | |
tree | 78576e590ca8edda52bebb5434602e2de078b75e /auth.c | |
parent | 598ba7b5e20e8b4cb023069ad86a97b4032aa3da (diff) |
- (dtucker) [auth.c] Fix parens in audit log check.
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |