summaryrefslogtreecommitdiff
path: root/regress/lib/libtls/keypair
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-03-20 09:35:47 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-03-20 09:35:47 +0000
commit10b47e06b9a66bd538e2979cd32287e61d67b312 (patch)
tree9c546a1860cd70f1e6f1458bed87073e5d5ed64b /regress/lib/libtls/keypair
parent75a7e046e7dba2363497efaa11c8f99b939a7560 (diff)
Cleanup AID handling.
- Loops over all valid AID should start with AID_MIN and go up to AID_MAX - 1 e.g. for (i = AID_MIN; i < AID_MAX; i++) If for some reason AID_UNSPEC must be handled make that explicit in the for loop. - aid2afi() now returns an error for AID_UNSPEC since there is no valid AFI SAFI combo for AID_UNSPEC. - Add additional checks for AID_MIN where currently only AID_MAX was checked. This affects imsg for route refresh and graceful restart. - Simplify add-path capability handling. Only the negotiated add_path capa sets the flag for AID_UNSPEC to help code to quickly check if any add-path is active. OK tb@
Diffstat (limited to 'regress/lib/libtls/keypair')
0 files changed, 0 insertions, 0 deletions