Allow multiple X.509 locations
authortb <tb@openbsd.org>
Sat, 3 Sep 2022 13:06:15 +0000 (13:06 +0000)
committertb <tb@openbsd.org>
Sat, 3 Sep 2022 13:06:15 +0000 (13:06 +0000)
commit4c866cd6bcbfcdfec4a403a61a9d7b20abeb0afe
treec267769e54996dbcfa441fce773ea436af9fa042
parentbc1fb2e98a821c53ec8a7287ea3da96f5e9089a2
Allow multiple X.509 locations

While currently everyone only uses a single location, the spec allows for
multiple locations ordered by preference. While rpki-client does not
support more than one location this should not be a fatal error. Instead,
pick the first location and warn if there are more than one.

ok job
usr.sbin/rpki-client/x509.c