Update `webpki-roots` to 0.25
This commit is contained in:
parent
272d83c430
commit
6c61d54ad2
|
@ -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"
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue