All times in the x509 are UTC so use timegm() and not mktime().
authorclaudio <claudio@openbsd.org>
Fri, 8 Apr 2022 15:29:59 +0000 (15:29 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 8 Apr 2022 15:29:59 +0000 (15:29 +0000)
commit44117f3fa5d5da3ca84e705ce4715fa2712f3d18
treefbd65b6cd7fdfd780b6006518ea4dae5ae468b48
parentd095f71341fedbadd002e8f3b7308751f716f065
All times in the x509 are UTC so use timegm() and not mktime().
The latter will apply the timezone offset and so the further west
the more probable you are to have problems with valid_from times.
Fix from tb@
OK job@, benno@ and me
usr.sbin/rpki-client/mft.c
usr.sbin/rpki-client/x509.c