Update deps
This commit is contained in:
@@ -21,7 +21,7 @@ pub fn main() {
|
||||
// }
|
||||
|
||||
// This adds webpki_roots certs.
|
||||
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