X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/6039eeef82bbc5468a6b755e8ab4028ce9f692cd..c1a1c295ab967a2317f763096efd7556eec0d03a:/audit.c diff --git a/audit.c b/audit.c index 688cea54..4ff008e1 100644 --- a/audit.c +++ b/audit.c @@ -30,6 +30,8 @@ #include "audit.h" #include "log.h" +#include "key.h" +#include "hostfile.h" #include "auth.h" /* @@ -120,7 +122,7 @@ void audit_connection_from(const char *host, int port) { debug("audit connection from %s port %d euid %d", host, port, - (int)geteuid()); + (int)geteuid()); } /* @@ -147,7 +149,7 @@ audit_session_open(const char *ttyn) const char *t = ttyn ? ttyn : "(no tty)"; debug("audit session open euid %d user %s tty name %s", geteuid(), - audit_username(), t); + audit_username(), t); } /* @@ -163,7 +165,7 @@ audit_session_close(const char *ttyn) const char *t = ttyn ? ttyn : "(no tty)"; debug("audit session close euid %d user %s tty name %s", geteuid(), - audit_username(), t); + audit_username(), t); } /*