CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/11/16 14:07:46

Modified files:
        usr.sbin/rpki-client: aspa.c 

Log message:
rpki-client: handle {0} ASPAs up front

The semantics of merging mean that merging {0} into an already existing
CAS does nothing, so if aspa->providers[] is the set {0}, we can return
early. If v->providers[] is the set {0}, drop the 0 and adjust counters
then copy aspa->providers[] into it.

This approach would have worked before, but it's now a bit easier to see
why it works.

ok claudio

Reply via email to