Use time_t for x11_refuse_time timeout. We need SSH_TIME_T_MAX for
authordtucker <dtucker@openbsd.org>
Fri, 3 Mar 2023 02:37:58 +0000 (02:37 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 3 Mar 2023 02:37:58 +0000 (02:37 +0000)
commit6f6ad9093dc9a4296f38dda9ceea22f421609332
tree8c3896d178aaed61aa8549ddcedc4b854671d38b
parent93133fbe46dc2fe77be0b16ac27b30decb0612fd
Use time_t for x11_refuse_time timeout.  We need SSH_TIME_T_MAX for
this, so move from misc.c to misc.h so it's available.  Fixes a Coverity
warning for 64bit time_t safety, ok djm@
usr.bin/ssh/clientloop.c
usr.bin/ssh/misc.c
usr.bin/ssh/misc.h