diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/x509-info/src/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x509-info/src/client.rs b/src/x509-info/src/client.rs index 8728f93..1eb7e09 100644 --- a/src/x509-info/src/client.rs +++ b/src/x509-info/src/client.rs @@ -41,7 +41,7 @@ pub fn get_certificates( .with_no_client_auth() } else { let mut root_store = 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.0.iter().map(|ta| { OwnedTrustAnchor::from_subject_spki_name_constraints( ta.subject, ta.spki, |
