summaryrefslogtreecommitdiff
path: root/audit-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'audit-linux.c')
-rw-r--r--audit-linux.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/audit-linux.c b/audit-linux.c
index 136ed76b..3fcbe5c5 100644
--- a/audit-linux.c
+++ b/audit-linux.c
@@ -97,10 +97,8 @@ audit_session_close(struct logininfo *li)
}
void
-audit_event(ssh_audit_event_t event)
+audit_event(struct ssh *ssh, ssh_audit_event_t event)
{
- struct ssh *ssh = active_state; /* XXX */
-
switch(event) {
case SSH_AUTH_SUCCESS:
case SSH_CONNECTION_CLOSE: