-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bettertls: test both pathbuilding and nameconstraints.
Previously the bettertls test data and runner only included the 'pathbuilding' suite. This commit brings in the remaining 'nameconstraints' tests. It turns out very little needs to change to also run these tests. In addition to trying path building with `verify_for_usage`, we also need to perform name verification for the subject indicated in the testcase 'hostname' field with `verify_is_valid_for_subject_name`. That's about it, the rest is plumbing. :) One additional point of interest: with the full tests included the vendored JSON was about ~33mb. The `Cargo.toml` config doesn't include the `third-party` directory in the packaged crate, but it still felt too large. As a workaround this commit applies bzip2 compression, bringing it down to ~7mb, and updates the test runner to decompresses it on the fly.
- Loading branch information
Showing
5 changed files
with
77 additions
and
27 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
Binary file not shown.
This file was deleted.
Oops, something went wrong.