Skip to content

Commit

Permalink
treewide: bump webpki to 0.102.0-alpha.7
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Pan <andrew.pan@trailofbits.com>
  • Loading branch information
tnytown committed Nov 28, 2023
1 parent 97e63bb commit d9525fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ url = "2.2.2"
x509-cert = { version = "0.2.2", features = ["builder", "pem", "std"] }
crypto_secretbox = "0.1.1"
zeroize = "1.5.7"
rustls-webpki = { version = "0.102.0-alpha.4", features = ["alloc"] }
rustls-webpki = { version = "0.102.0-alpha.7", features = ["alloc"] }
rustls-pki-types = { version = "0.2.1", features = ["std"] }
serde_repr = "0.1.16"
hex = "0.4.3"
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/certificate_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl<'a> CertificatePool<'a> {
Ok(CertificatePool {
trusted_roots: trusted_roots
.into_iter()
.map(|x| Ok(webpki::extract_trust_anchor(&x)?.to_owned()))
.map(|x| Ok(webpki::anchor_from_trusted_cert(&x)?.to_owned()))
.collect::<std::result::Result<Vec<_>, webpki::Error>>()?,
intermediates: untrusted_intermediates.into_iter().collect(),
})
Expand Down

0 comments on commit d9525fa

Please sign in to comment.