Skip to content

Conversation

@aarongable
Copy link
Contributor

If the primary perspective CAA check returns an error, return early rather than always kicking off the remote checks anyway.

As part of this change, rearrange the code in DoCAA to more closely mirror the code in DoDCV. In particular, move the creation of the result protobuf into a helper function which can be called at both the early-return and late-return locations.

@aarongable aarongable requested a review from a team as a code owner November 18, 2025 00:53
@aarongable aarongable requested review from a team and jsha and removed request for a team November 18, 2025 22:34
@aarongable aarongable merged commit 16fbe27 into main Nov 21, 2025
13 checks passed
@aarongable aarongable deleted the caa-early-return branch November 21, 2025 22:36
npurtova pushed a commit to plesk/boulder that referenced this pull request Nov 25, 2025
If the primary perspective CAA check returns an error, return early
rather than always kicking off the remote checks anyway.

As part of this change, rearrange the code in DoCAA to more closely
mirror the code in DoDCV. In particular, move the creation of the result
protobuf into a helper function which can be called at both the
early-return and late-return locations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants