]> andersk Git - openssh.git/blobdiff - sshd.c
- (dtucker) [auth.h sshd.c openbsd-compat/port-aix.c] Bug #1006: fix bug in
[openssh.git] / sshd.c
diff --git a/sshd.c b/sshd.c
index a5b7f1ca32c4f1e0773f3d0150e41342bfc011b1..b3fcc6964e201a3a3bad7ab1bfdb978aa6ba5dd9 100644 (file)
--- a/sshd.c
+++ b/sshd.c
@@ -1673,6 +1673,8 @@ main(int ac, char **av)
        authctxt = xmalloc(sizeof(*authctxt));
        memset(authctxt, 0, sizeof(*authctxt));
 
+       authctxt->loginmsg = &loginmsg;
+
        /* XXX global for cleanup, access from other modules */
        the_authctxt = authctxt;
 
@@ -1728,6 +1730,10 @@ main(int ac, char **av)
                finish_pam();
 #endif /* USE_PAM */
 
+#ifdef SSH_AUDIT_EVENTS
+       PRIVSEP(audit_event(SSH_CONNECTION_CLOSE));
+#endif
+
        packet_close();
 
        if (use_privsep)
This page took 0.034332 seconds and 4 git commands to generate.