summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udl.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2020-11-06 04:22:19 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2020-11-06 04:22:19 +0000
commit64dbc44391bbf0e328d26192e74a9df72c48c383 (patch)
treefc0f76e31e64fe75a13c6bd4c9bbc2e2f968ba2f /sys/dev/usb/udl.h
parent0e0ad22b8c64938b4d54f5d30b370d495c1cdb84 (diff)
Treat stale manifests as such, not as 'failed to parse'
There is currently dead code in mft_parse() that handles stale manifests by setting the stale flag and removing all files they reference. This code was made unreachable in a refactor that fixed a logic error that made mft_parse() succeed despite its error handling. check_validity() returns three possible values. Report failures and stale mfts back immediately via rc. Success needs to reset rc to -1, so subsequent errors are reported as such. This is mostly cosmetic and only changes the rpki-client output in that the comment at the top of the config now actually shows stale manifests. This makes regress pass again. ok claudio job
Diffstat (limited to 'sys/dev/usb/udl.h')
0 files changed, 0 insertions, 0 deletions