rpki-client: refactor manifest/crl parsing a bit
authortb <tb@openbsd.org>
Tue, 21 Feb 2023 17:06:52 +0000 (17:06 +0000)
committertb <tb@openbsd.org>
Tue, 21 Feb 2023 17:06:52 +0000 (17:06 +0000)
commita4968bd93100756f4b3ac5b50e1f81035a519642
tree93956e23a659fa6e07055bd70d04ac7e47c2c169
parent0a5dddd9603b235a2ab339643e43c774fedc49f4
rpki-client: refactor manifest/crl parsing a bit

Now that we always try to load the CRL from both locations, we can deal
with loading the DER directly in proc_parser_mft_pre(), so shuffle the
code around to accomplish that. This should make an upcoming diff by
claudio a bit simpler.

ok claudio
usr.sbin/rpki-client/parser.c