summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--session.c4
-rw-r--r--sshd.c4
3 files changed, 7 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index bf2ca3620..a96605e9d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
120050306 120050306
2 - (dtucker) [monitor.c] Bug #125 comment #47: fix errors returned by monitor 2 - (dtucker) [monitor.c] Bug #125 comment #47: fix errors returned by monitor
3 when attempting to audit disconnect events. Reported by Phil Dibowitz. 3 when attempting to audit disconnect events. Reported by Phil Dibowitz.
4 - (dtucker) [session.c sshd.c] Bug #125 comment #49: Send disconnect audit
5 events earlier, prevents mm_request_send errors reported by Matt Goebel.
4 6
520050305 720050305
6 - (djm) [contrib/cygwin/README] Improve Cygwin build documentation. Patch 8 - (djm) [contrib/cygwin/README] Improve Cygwin build documentation. Patch
@@ -2281,4 +2283,4 @@
2281 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 2283 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
2282 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 2284 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
2283 2285
2284$Id: ChangeLog,v 1.3692 2005/03/06 11:31:35 dtucker Exp $ 2286$Id: ChangeLog,v 1.3693 2005/03/06 11:38:51 dtucker Exp $
diff --git a/session.c b/session.c
index df7552334..b32c9e2ca 100644
--- a/session.c
+++ b/session.c
@@ -2344,10 +2344,6 @@ do_cleanup(Authctxt *authctxt)
2344 } 2344 }
2345#endif 2345#endif
2346 2346
2347#ifdef SSH_AUDIT_EVENTS
2348 PRIVSEP(audit_event(SSH_CONNECTION_CLOSE));
2349#endif
2350
2351 /* remove agent socket */ 2347 /* remove agent socket */
2352 auth_sock_cleanup_proc(authctxt->pw); 2348 auth_sock_cleanup_proc(authctxt->pw);
2353 2349
diff --git a/sshd.c b/sshd.c
index a5b7f1ca3..11d618d11 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1728,6 +1728,10 @@ main(int ac, char **av)
1728 finish_pam(); 1728 finish_pam();
1729#endif /* USE_PAM */ 1729#endif /* USE_PAM */
1730 1730
1731#ifdef SSH_AUDIT_EVENTS
1732 PRIVSEP(audit_event(SSH_CONNECTION_CLOSE));
1733#endif
1734
1731 packet_close(); 1735 packet_close();
1732 1736
1733 if (use_privsep) 1737 if (use_privsep)