Update `webpki-roots` to 0.25

This commit is contained in:
Constantin Nickel 2023-11-15 18:55:56 +01:00
parent 272d83c430
commit 6c61d54ad2
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,