rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone
Jan F d1fc5c
diff -up openssh-5.8p1/sshd.c.audit5a openssh-5.8p1/sshd.c
Jan F d1fc5c
--- openssh-5.8p1/sshd.c.audit5a	2011-03-08 09:03:49.000000000 +0100
Jan F d1fc5c
+++ openssh-5.8p1/sshd.c	2011-03-08 09:06:23.000000000 +0100
Jan F d1fc5c
@@ -2085,6 +2085,7 @@ main(int ac, char **av)
Jan F d1fc5c
 
Jan F d1fc5c
 	/* The connection has been terminated. */
Jan F d1fc5c
 	packet_destroy_all(1, 1);
Jan F d1fc5c
+	destroy_sensitive_data(1);
Jan F d1fc5c
 
Jan F d1fc5c
 	packet_get_state(MODE_IN, NULL, NULL, NULL, &ibytes);
Jan F d1fc5c
 	packet_get_state(MODE_OUT, NULL, NULL, NULL, &obytes);