Introduce and use mft_compare_issued()
authortb <tb@openbsd.org>
Wed, 31 Jan 2024 06:57:21 +0000 (06:57 +0000)
committertb <tb@openbsd.org>
Wed, 31 Jan 2024 06:57:21 +0000 (06:57 +0000)
commit1039ba604aa306d5bf40f55a71797be088557aad
tree9eb08238ea5244ec1a2e89e76770180227104e77
parente73085f88b8845d6421588f94e107db36ee2b1b2
Introduce and use mft_compare_issued()

Newly issued manifests should not only have a higher manifestNumber,
their issuance time should also be later. Add corresponding checks
and warnings when comparing a newly fetched manifest to a manifest
from the cache.

ok job (who noticed that such a check was missing)
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/mft.c
usr.sbin/rpki-client/parser.c