Convert libressl to use the BoringSSL style time conversions
authorbeck <beck@openbsd.org>
Sun, 24 Mar 2024 11:30:12 +0000 (11:30 +0000)
committerbeck <beck@openbsd.org>
Sun, 24 Mar 2024 11:30:12 +0000 (11:30 +0000)
commitac0599879842b6058f85b8c9153028df25177228
treed700951e6dba5f9c3128816a65e1be830bf37245
parentf4ea8fe21082944c520411eb56322b4eeb490342
Convert libressl to use the BoringSSL style time conversions

This gets rid of our last uses of timegm and gmtime in the
library and things that ship with it. It includes a bit
of refactoring in ocsp_cl.c to remove some obvious ugly.

ok tb@
lib/libcrypto/ocsp/ocsp_cl.c
lib/libcrypto/ts/ts_rsp_sign.c
lib/libtls/tls_conninfo.c
lib/libtls/tls_ocsp.c
usr.sbin/ocspcheck/ocspcheck.c