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

crl: rm Budget from verify_signature fn #190

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Conversation

cpu
Copy link
Member

@cpu cpu commented Sep 28, 2023

Description

The Budget type is a crate-internal detail that shouldn't be exposed outside of the crate. It only makes sense in the context of path path building.

This commit removes the Budget argument from the public CertRevocationList trait's verify_signature fn.

See #186 for a discussion of rejected alternative solutions.

The `Budget` type is a crate-internal detail that shouldn't be exposed
outside of the crate. It only makes sense in the context of path path
building.

This commit removes the `Budget` argument from the public
`CertRevocationList` trait's `verify_signature` fn.
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #190 (ec89763) into main (ec7e810) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #190      +/-   ##
==========================================
- Coverage   96.50%   96.50%   -0.01%     
==========================================
  Files          19       19              
  Lines        4466     4465       -1     
==========================================
- Hits         4310     4309       -1     
  Misses        156      156              
Files Coverage Δ
src/crl/mod.rs 97.50% <100.00%> (+0.01%) ⬆️
src/crl/types.rs 99.53% <100.00%> (-0.01%) ⬇️
src/verify_cert.rs 97.35% <ø> (ø)

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

@cpu cpu added this pull request to the merge queue Sep 28, 2023
Merged via the queue into rustls:main with commit 84e0b16 Sep 28, 2023
29 checks passed
@cpu cpu deleted the cpu-rm-budget-crl-api branch September 28, 2023 15:43
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.

2 participants