diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -258,7 +258,7 @@ allowed_user(struct passwd * pw) | |||
258 | } | 258 | } |
259 | 259 | ||
260 | #ifdef CUSTOM_SYS_AUTH_ALLOWED_USER | 260 | #ifdef CUSTOM_SYS_AUTH_ALLOWED_USER |
261 | if (!sys_auth_allowed_user(pw, &loginmsg)) | 261 | if (!sys_auth_allowed_user(pw, loginmsg)) |
262 | return 0; | 262 | return 0; |
263 | #endif | 263 | #endif |
264 | 264 | ||
@@ -362,7 +362,7 @@ auth_log(Authctxt *authctxt, int authenticated, int partial, | |||
362 | if (authenticated) | 362 | if (authenticated) |
363 | sys_auth_record_login(authctxt->user, | 363 | sys_auth_record_login(authctxt->user, |
364 | auth_get_canonical_hostname(ssh, options.use_dns), "ssh", | 364 | auth_get_canonical_hostname(ssh, options.use_dns), "ssh", |
365 | &loginmsg); | 365 | loginmsg); |
366 | # endif | 366 | # endif |
367 | #endif | 367 | #endif |
368 | #ifdef SSH_AUDIT_EVENTS | 368 | #ifdef SSH_AUDIT_EVENTS |