summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2017-02-03 02:56:01 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2017-02-03 02:56:01 +0000
commitb1def41df1cb29ffeb146196e2a703b327fb896f (patch)
tree7894e4989e3b48adf0de5bf44f7018ace27606b5 /include
parent20665343c16fe95a34182d1e2b0ec09b4025290f (diff)
Make ssh_packet_set_rekey_limits take u32 for the number of seconds
until rekeying (negative values are rejected at config parse time). This allows the removal of some casts and a signed vs unsigned comparison warning. rekey_time is cast to int64 for the comparison which is a no-op on OpenBSD, but should also do the right thing in -portable on anything still using 32bit time_t (until the system time actually wraps, anyway). some early guidance deraadt@, ok djm@
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions