vishalmishra434 / rpms / openssh

Forked from rpms/openssh 3 months ago
Clone
Jan F f9ff10
diff -ur openssh/sshd.c openssh-5.8p1/sshd.c
Jan F f9ff10
--- openssh/sshd.c	2011-02-23 16:23:05.720096223 +0100
Jan F f9ff10
+++ openssh-5.8p1/sshd.c	2011-02-23 17:04:24.206612620 +0100
Jan F f9ff10
@@ -748,7 +748,8 @@
Jan F f9ff10
 		buffer_clear(&loginmsg);
Jan F f9ff10
  		newkeys_destroy(current_keys[MODE_OUT]);
Jan F f9ff10
 		newkeys_destroy(current_keys[MODE_IN]);
Jan F f9ff10
-		packet_destroy_all(1, 0);
Jan F f9ff10
+		audit_session_key_free_body(2, getpid(), getuid());
Jan F f9ff10
+		packet_destroy_all(0, 0);
Jan F f9ff10
 		monitor_child_postauth(pmonitor);
Jan F f9ff10
 
Jan F f9ff10
 		/* NEVERREACHED */