Merge pull request #385 from nickelc/deps/webpki-roots

Update `webpki-roots` to 0.25
This commit is contained in:
Alexey Galakhov 2023-11-15 22:30:51 +01:00 committed by GitHub
commit a6cbed7bff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ version = "0.6.0"
[dependencies.webpki-roots]
optional = true
version = "0.24"
version = "0.25"
[dev-dependencies]
criterion = "0.5.0"

View File

@ -114,8 +114,8 @@ mod encryption {
}
#[cfg(feature = "rustls-tls-webpki-roots")]
{
root_store.add_server_trust_anchors(
webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| {
root_store.add_trust_anchors(
webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| {
rustls::OwnedTrustAnchor::from_subject_spki_name_constraints(
ta.subject,
ta.spki,