Revert commitid ANSBO0rBvIUtTi45:
authorclaudio <claudio@openbsd.org>
Tue, 30 May 2023 12:14:48 +0000 (12:14 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 30 May 2023 12:14:48 +0000 (12:14 +0000)
commit0876134d1742bf4be7fe4c11b0677ae5d6d77f27
tree982e06a7698309e469eb93e22148525db1cd9459
parentdce4b958371ac73ee8f5184ce2e2f09d9285de19
Revert commitid ANSBO0rBvIUtTi45:
   Make rpki-client choose the verification time of the time it is invoked
   rather than always getting the current system time for every certificate
   verification. This will result in output that is not variable on run-time.

Using the time of invocation does not work well with fast publishing CAs. It
can take a few minutes to reach a repo and that CA may have issued certificates
that are not yet valid if that startup time of rpki-client is used to validate.

This still keeps the -P option to specify a fixed validation time.
OK beck@ job@ tb@
16 files changed:
regress/usr.sbin/rpki-client/test-aspa.c
regress/usr.sbin/rpki-client/test-cert.c
regress/usr.sbin/rpki-client/test-gbr.c
regress/usr.sbin/rpki-client/test-geofeed.c
regress/usr.sbin/rpki-client/test-ip.c
regress/usr.sbin/rpki-client/test-mft.c
regress/usr.sbin/rpki-client/test-roa.c
regress/usr.sbin/rpki-client/test-rrdp.c
regress/usr.sbin/rpki-client/test-rsc.c
regress/usr.sbin/rpki-client/test-tak.c
regress/usr.sbin/rpki-client/test-tal.c
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/output-bird.c
usr.sbin/rpki-client/parser.c
usr.sbin/rpki-client/validate.c