Simplify SIA extension parsing further
authortb <tb@openbsd.org>
Mon, 11 Apr 2022 10:39:45 +0000 (10:39 +0000)
committertb <tb@openbsd.org>
Mon, 11 Apr 2022 10:39:45 +0000 (10:39 +0000)
commit88fb9ee313ab11adbec7b700e5d8127d441147f3
tree213cecc3af7ede7d7c8f8db24be9c53670075b8d
parent89619c4d6cdfcf363887fc2fa6e1b06715d5a639
Simplify SIA extension parsing further

Inline sbgp_sia_resource_entry() into sbgp_sia(). Add sbgp_sia_location()
to deduplicate sbgp_sia_resource_{notify,mft,carepo}(). Pull the GEN_URI
check into sbgp_sia_location() now that it doesn't have to be repeated
three times.

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