-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cert_verify_tool: plumbing for configurable trust settings
Follow up CLs will add flags to configure the trust settings used. Note that the configurable trust settings here only apply when testing the builtin verifier. With the platform verifiers all trust settings will act the same. For the VerifyUsingCertVerifyProc implementation, switch to always used ScopedTestRoot for adding roots, instead of using the additional_trust_anchors parameter of Verify() when SupportsAdditionalTrustAnchors() is true. There isn't really any benefit to doing both if we need to use ScopedTestRoot on some implementations anyway. And ScopedTestRoot now allows to specify additional trust options, which isn't possible with additional_trust_anchors. So just make it always use ScopedTestRoot. Bug: 1408473 Change-Id: I1a4313a591558c95549f5c107058ac6074dce9ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4184950 Commit-Queue: Matt Mueller <mattm@chromium.org> Reviewed-by: Hubert Chao <hchao@chromium.org> Reviewed-by: Bob Beck <bbe@chromium.org> Cr-Commit-Position: refs/heads/main@{#1096898}
- Loading branch information
1 parent
6818567
commit 36d0168
Showing
6 changed files
with
70 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters