diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-08-25 15:40:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 23:40:25 +0200 |
commit | 8bb4e10881730576bbb82e54ede1ebf5931194c3 (patch) | |
tree | 39e093f85237557be498efad55bfc3af922c274a /cli/args/mod.rs | |
parent | 907d9bb4d720a7b01bffb098c72c789665f2415b (diff) |
fix(ext/tls): upgrade webpki version (#20285)
This removes a webpki version that was showing up as vulnerable to
https://github.com/briansmith/webpki/issues/69.
Needed to upgrade `reqwest` as part of this.
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index 424a7dc70..f82ed9a71 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -486,8 +486,8 @@ pub fn get_root_cert_store( for store in ca_stores.iter() { match store.as_str() { "mozilla" => { - root_cert_store.add_server_trust_anchors( - webpki_roots::TLS_SERVER_ROOTS.0.iter().map(|ta| { + root_cert_store.add_trust_anchors( + webpki_roots::TLS_SERVER_ROOTS.iter().map(|ta| { rustls::OwnedTrustAnchor::from_subject_spki_name_constraints( ta.subject, ta.spki, |