rpki-client: rework as_check_overlap()
authortb <tb@openbsd.org>
Wed, 18 Oct 2023 07:04:24 +0000 (07:04 +0000)
committertb <tb@openbsd.org>
Wed, 18 Oct 2023 07:04:24 +0000 (07:04 +0000)
commite88acb210697d406d9df25a2174fb0c7053ebe9a
treef1cc8e4d6dd10786f5ce4e5d4bb7f3f793e2a56b
parentb9b7fd8a3482d8dc07c5d5562fd52f13d920e0ba
rpki-client: rework as_check_overlap()

Avoid early returns and use a single copy of the warning by reworking
the control flow through two nested switches.

ok claudio job
usr.sbin/rpki-client/as.c