Error out if a ROA payload contains too many ipAddrBlocks
authorjob <job@openbsd.org>
Wed, 9 Nov 2022 18:17:23 +0000 (18:17 +0000)
committerjob <job@openbsd.org>
Wed, 9 Nov 2022 18:17:23 +0000 (18:17 +0000)
commitb9ea95bbb3a40eef6d9d21d137e57420f0219f36
treea86dc62e7309d78b1a7e629232a35a6a33b8b4b9
parent8dd03a95ac9d853ab5a52270d2bd550045a756fc
Error out if a ROA payload contains too many ipAddrBlocks

The ASN.1 profile in draft-ietf-sidrops-rfc6482bis section 4 specifies
that there must not be more than 2 ipAddrBlocks (one for IPv4, and one
for IPv6). Compatible with all published ROAs.

OK tb@
usr.sbin/rpki-client/roa.c