Skip to content

Comments

crl: rm Budget from verify_signature fn#190

Merged
cpu merged 1 commit intorustls:mainfrom
cpu:cpu-rm-budget-crl-api
Sep 28, 2023
Merged

crl: rm Budget from verify_signature fn#190
cpu merged 1 commit intorustls:mainfrom
cpu:cpu-rm-budget-crl-api

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
@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