Fix x509_get_time() error checks
authortb <tb@openbsd.org>
Wed, 2 Nov 2022 10:04:41 +0000 (10:04 +0000)
committertb <tb@openbsd.org>
Wed, 2 Nov 2022 10:04:41 +0000 (10:04 +0000)
commit10093466eaf3052cdfa94fc7c6a221d271130d92
tree78107706425d2265453e7ea20a0879b004ad4af2
parent8f86830fe2bacef9baa9775c85ae03b2926cc512
Fix x509_get_time() error checks

Like most x509_* functions, x509_get_time() returns 0/1 on error/success,
not -1/0.

ok claudio job
usr.sbin/rpki-client/aspa.c
usr.sbin/rpki-client/crl.c
usr.sbin/rpki-client/roa.c
usr.sbin/rpki-client/rsc.c
usr.sbin/rpki-client/x509.c