diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -367,7 +367,7 @@ auth_log(struct ssh *ssh, int authenticated, int partial, | |||
367 | #endif | 367 | #endif |
368 | #ifdef SSH_AUDIT_EVENTS | 368 | #ifdef SSH_AUDIT_EVENTS |
369 | if (authenticated == 0 && !authctxt->postponed) | 369 | if (authenticated == 0 && !authctxt->postponed) |
370 | audit_event(audit_classify_auth(method)); | 370 | audit_event(ssh, audit_classify_auth(method)); |
371 | #endif | 371 | #endif |
372 | } | 372 | } |
373 | 373 | ||
@@ -605,7 +605,7 @@ getpwnamallow(struct ssh *ssh, const char *user) | |||
605 | auth_get_canonical_hostname(ssh, options.use_dns), "ssh"); | 605 | auth_get_canonical_hostname(ssh, options.use_dns), "ssh"); |
606 | #endif | 606 | #endif |
607 | #ifdef SSH_AUDIT_EVENTS | 607 | #ifdef SSH_AUDIT_EVENTS |
608 | audit_event(SSH_INVALID_USER); | 608 | audit_event(ssh, SSH_INVALID_USER); |
609 | #endif /* SSH_AUDIT_EVENTS */ | 609 | #endif /* SSH_AUDIT_EVENTS */ |
610 | return (NULL); | 610 | return (NULL); |
611 | } | 611 | } |