diff options
author | Damien Miller <djm@mindrot.org> | 2019-01-20 14:55:27 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-20 14:55:27 +1100 |
commit | 9b655dc9c9a353f0a527f0c6c43a5e35653c9503 (patch) | |
tree | 78b3512ffa1a9e5b8d954aca6fb45a0a3045504b /audit-linux.c | |
parent | 3f0786bbe73609ac96e5a0d91425ee21129f8e04 (diff) |
last bits of old packet API / active_state global
Diffstat (limited to 'audit-linux.c')
-rw-r--r-- | audit-linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/audit-linux.c b/audit-linux.c index 136ed76bb..3fcbe5c53 100644 --- a/audit-linux.c +++ b/audit-linux.c | |||
@@ -97,10 +97,8 @@ audit_session_close(struct logininfo *li) | |||
97 | } | 97 | } |
98 | 98 | ||
99 | void | 99 | void |
100 | audit_event(ssh_audit_event_t event) | 100 | audit_event(struct ssh *ssh, ssh_audit_event_t event) |
101 | { | 101 | { |
102 | struct ssh *ssh = active_state; /* XXX */ | ||
103 | |||
104 | switch(event) { | 102 | switch(event) { |
105 | case SSH_AUTH_SUCCESS: | 103 | case SSH_AUTH_SUCCESS: |
106 | case SSH_CONNECTION_CLOSE: | 104 | case SSH_CONNECTION_CLOSE: |