CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/02/02 19:56:00
Modified files:
usr.bin/ssh : packet.c packet.h sshconnect2.c sshd.c
Log message:
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@