Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extended API to allow rcgen-based tests to be moved to their own crate #290

Merged
merged 5 commits into from
Oct 8, 2023

Conversation

briansmith
Copy link
Owner

@briansmith briansmith commented Oct 7, 2023

Remove rcgen as a dev-dependency from the webpki crate by moving the rcgen-based tests to their own crate. Revert to testing with the MSRV set to 1.61.0. Take a step towards adding aarch64-pc-windows-msvc to CI.

See each individual commit message for details.

Add a public API that allows the caller to distinguish the new DoS
errors.
This is an intermediate step towards moving them into a separate crate.

Leave the `tests` submodule for now, to make the comparison with the
old (identical) code easier. The next commit will remove it and
re-indent the code.
The tests submodule was a holdover from when these were unit tests.
Remove the `rcgen` dev-dependency from the webpki crate.
@codecov
Copy link

codecov bot commented Oct 7, 2023

Codecov Report

Merging #290 (074068e) into main (cef4925) will decrease coverage by 0.06%.
The diff coverage is 88.99%.

@@            Coverage Diff             @@
##             main     #290      +/-   ##
==========================================
- Coverage   57.48%   57.43%   -0.06%     
==========================================
  Files          20       21       +1     
  Lines        3599     3597       -2     
==========================================
- Hits         2069     2066       -3     
- Misses       1530     1531       +1     
Files Coverage Δ
rcgen-tests/tests/dos.rs 100.00% <100.00%> (ø)
src/budget.rs 100.00% <100.00%> (ø)
src/lib.rs 37.93% <ø> (ø)
src/verify_cert.rs 96.68% <100.00%> (-0.50%) ⬇️
src/end_entity.rs 42.69% <89.47%> (+7.08%) ⬆️
src/error.rs 9.62% <37.50%> (+0.06%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@briansmith briansmith merged commit e7873ff into main Oct 8, 2023
212 of 214 checks passed
@briansmith briansmith deleted the b/ext-error branch October 8, 2023 17:31
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.

1 participant