Update deps
This commit is contained in:
@@ -572,7 +572,7 @@ impl AgentBuilder {
|
||||
/// # ureq::is_test(true);
|
||||
/// use std::sync::Arc;
|
||||
/// let mut root_store = rustls::RootCertStore::empty();
|
||||
/// 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,
|
||||
|
||||
@@ -99,7 +99,7 @@ fn root_certs() -> rustls::RootCertStore {
|
||||
#[cfg(not(feature = "native-certs"))]
|
||||
fn root_certs() -> rustls::RootCertStore {
|
||||
let mut root_store = rustls::RootCertStore::empty();
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user