summaryrefslogtreecommitdiffstats
path: root/audit-linux.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-01-20 04:55:27 +0100
committerDamien Miller <djm@mindrot.org>2019-01-20 04:55:27 +0100
commit9b655dc9c9a353f0a527f0c6c43a5e35653c9503 (patch)
tree78b3512ffa1a9e5b8d954aca6fb45a0a3045504b /audit-linux.c
parentremove PAM dependencies on old packet API (diff)
downloadopenssh-9b655dc9c9a353f0a527f0c6c43a5e35653c9503.tar.xz
openssh-9b655dc9c9a353f0a527f0c6c43a5e35653c9503.zip
last bits of old packet API / active_state global
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 136ed76bb..3fcbe5c53 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: