rpki-client: simplify parse_load_crl_from_mft()
authortb <tb@openbsd.org>
Thu, 23 Feb 2023 13:06:42 +0000 (13:06 +0000)
committertb <tb@openbsd.org>
Thu, 23 Feb 2023 13:06:42 +0000 (13:06 +0000)
commit6fd959f8315892be737432004d6e169e29d34139
treec92d28574bb2e9ee4142d6f515e3bcef9439d0eb
parente038f1a19ed776790f781a4bc86a618f984c526e
rpki-client: simplify parse_load_crl_from_mft()

Now that we always inspect both locations if necessary, we can do away
with the loop and simply have the only caller call twice. Removes a
bunch of clever complexity and streamlines the code quite a bit.

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