CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/30 05:57:02
Modified files:
usr.sbin/rpki-client: roa.c
Log message:
rpki-client: simplify roa_ip_cmp()
Instead of two memcmp we can use the same approach as in ccr_vrp_cmp()
and compare struct ip_addr() and the prefix length to obtain the ordering
sort-of but not quite rquired by RFC 9582, section 4.3.3. Right now only
three amazon CAs don't follow this ordering, so maybe we can get them to
fix that soon and start requiring the order, which avoids some algorithmic
complexity issues.
ok claudio