]> andersk Git - openssh.git/blobdiff - audit.c
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / audit.c
diff --git a/audit.c b/audit.c
index 688cea54abb6c62ffdb0472f05d68b2ecf08d978..bb386d852a648577e38f0c5f41153959c51f1c70 100644 (file)
--- a/audit.c
+++ b/audit.c
 
 #include "includes.h"
 
+#include <stdarg.h>
+#include <string.h>
+
 #ifdef SSH_AUDIT_EVENTS
 
 #include "audit.h"
 #include "log.h"
+#include "key.h"
+#include "hostfile.h"
 #include "auth.h"
 
 /*
@@ -120,7 +125,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 +152,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 +168,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);
 }
 
 /*
This page took 0.727526 seconds and 4 git commands to generate.