rpki-client: Refactor sbgp_assysnum() and sbgp_addrblk()
authortb <tb@openbsd.org>
Mon, 25 Sep 2023 14:56:20 +0000 (14:56 +0000)
committertb <tb@openbsd.org>
Mon, 25 Sep 2023 14:56:20 +0000 (14:56 +0000)
commit18c42b3002250aa4c4ac0a97c4f21e2dc9907d5e
tree8d90cd8c768b91812734bd5b96b8c7d74b397e81
parent97b6e1d64afcb4317303c6afa9e292a285da50ef
rpki-client: Refactor sbgp_assysnum() and sbgp_addrblk()

An upcoming diff requires the ability to convert ASIdentifiers and
IpAddrBlocks into rpki-client's internal structures.  Accordingly,
split already existing code into dedicated parsing functions . The
original functions now only extract the extension-specific data from
the X509_EXTENSION.

input/ok claudio
usr.sbin/rpki-client/cert.c
usr.sbin/rpki-client/extern.h