summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2017-05-31 08:09:45 +0000
committerDamien Miller <djm@mindrot.org>2017-06-01 14:54:46 +1000
commit1e0cdf8efb745d0d1116e1aa22bdc99ee731695e (patch)
tree49ffdf3ef98eecd4141610e535f35bab5eea4603 /packet.h
parent92e9fe633130376a95dd533df6e5e6a578c1e6b8 (diff)
upstream commit
clear session keys from memory; ok djm@ Upstream-ID: ecd178819868975affd5fd6637458b7c712b6a0f
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.h b/packet.h
index 2b8069cd6..6ce6dd560 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.80 2017/05/30 14:18:15 markus Exp $ */ 1/* $OpenBSD: packet.h,v 1.81 2017/05/31 08:09:45 markus Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -97,6 +97,8 @@ int ssh_packet_get_connection_in(struct ssh *);
97int ssh_packet_get_connection_out(struct ssh *); 97int ssh_packet_get_connection_out(struct ssh *);
98void ssh_packet_close(struct ssh *); 98void ssh_packet_close(struct ssh *);
99void ssh_packet_set_input_hook(struct ssh *, ssh_packet_hook_fn *, void *); 99void ssh_packet_set_input_hook(struct ssh *, ssh_packet_hook_fn *, void *);
100void ssh_packet_clear_keys(struct ssh *);
101void ssh_clear_newkeys(struct ssh *, int);
100 102
101int ssh_packet_is_rekeying(struct ssh *); 103int ssh_packet_is_rekeying(struct ssh *);
102void ssh_packet_set_protocol_flags(struct ssh *, u_int); 104void ssh_packet_set_protocol_flags(struct ssh *, u_int);