diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-31 10:09:45 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-06-01 06:54:46 +0200 |
commit | 1e0cdf8efb745d0d1116e1aa22bdc99ee731695e (patch) | |
tree | 49ffdf3ef98eecd4141610e535f35bab5eea4603 /packet.h | |
parent | upstream commit (diff) | |
download | openssh-1e0cdf8efb745d0d1116e1aa22bdc99ee731695e.tar.xz openssh-1e0cdf8efb745d0d1116e1aa22bdc99ee731695e.zip |
upstream commit
clear session keys from memory; ok djm@
Upstream-ID: ecd178819868975affd5fd6637458b7c712b6a0f
Diffstat (limited to 'packet.h')
-rw-r--r-- | packet.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: packet.h,v 1.80 2017/05/30 14:18:15 markus Exp $ */ +/* $OpenBSD: packet.h,v 1.81 2017/05/31 08:09:45 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -97,6 +97,8 @@ int ssh_packet_get_connection_in(struct ssh *); int ssh_packet_get_connection_out(struct ssh *); void ssh_packet_close(struct ssh *); void ssh_packet_set_input_hook(struct ssh *, ssh_packet_hook_fn *, void *); +void ssh_packet_clear_keys(struct ssh *); +void ssh_clear_newkeys(struct ssh *, int); int ssh_packet_is_rekeying(struct ssh *); void ssh_packet_set_protocol_flags(struct ssh *, u_int); |