Introduce x509_any_inherit() for objects which may not have inherit elements
authorjob <job@openbsd.org>
Sat, 3 Sep 2022 14:40:09 +0000 (14:40 +0000)
committerjob <job@openbsd.org>
Sat, 3 Sep 2022 14:40:09 +0000 (14:40 +0000)
commitc9e39c95160a1f0d2ec224e1e053d13ada05409d
treedd46d0c5e860933feb0703efa354d30fa0e7d0dc
parent4536786e0f37b276e7d36bae81c26fe2dddf541c
Introduce x509_any_inherit() for objects which may not have inherit elements

Unify conformance checking of Trust Anchors, ROAs, ASPAs, RSCs - none of which
may have any 'inherit' elements in the RFC 3779 IP/AS Resources extension of
the X509 certificate.

OK tb@
usr.sbin/rpki-client/aspa.c
usr.sbin/rpki-client/cert.c
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/roa.c
usr.sbin/rpki-client/rsc.c
usr.sbin/rpki-client/validate.c
usr.sbin/rpki-client/x509.c