diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2013-05-16 02:00:35 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2013-05-16 02:00:35 +0000 |
commit | 722d0265fc441f3b3c72fe882be8d4daf4b76180 (patch) | |
tree | 804ae16b71f4df528f2cb6e90fd2ff0e57519822 /usr.bin/ssh/packet.h | |
parent | cfd6bfe7193d6d95e8ce3e2a98ca29537a900422 (diff) |
Add an optional second argument to RekeyLimit in the client to allow
rekeying based on elapsed time in addition to amount of traffic.
with djm@ jmc@, ok djm
Diffstat (limited to 'usr.bin/ssh/packet.h')
-rw-r--r-- | usr.bin/ssh/packet.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/packet.h b/usr.bin/ssh/packet.h index f2f009ef9ab..0941b5d54ab 100644 --- a/usr.bin/ssh/packet.h +++ b/usr.bin/ssh/packet.h @@ -1,4 +1,4 @@ -/* $OpenBSD: packet.h,v 1.57 2012/01/25 19:40:09 markus Exp $ */ +/* $OpenBSD: packet.h,v 1.58 2013/05/16 02:00:34 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -109,7 +109,8 @@ do { \ } while (0) int packet_need_rekeying(void); -void packet_set_rekey_limit(u_int32_t); +void packet_set_rekey_limits(u_int32_t, time_t); +time_t packet_get_rekey_timeout(void); void packet_backup_state(void); void packet_restore_state(void); |