-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verify_cert: fix build_degenerate_chain
This commit updates the `build_degenerate_chain` helper to properly reproduce the path building complexity budget issue that was reported upstream in briansmith/webpki. The previous implementation only reproduced the issue when the signature validation budget was artificially inflated. The new formulation is able to reproduce the issue with the default signature validation budget, and default build chain call budget (and completes in reasonable time). This better demonstrates the both limits are needed as its possible to make pathological certificate chains that avoid the one limit and are caught by the other.
- Loading branch information
Showing
1 changed file
with
20 additions
and
26 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