This commit is contained in:
parent
d1ab413bf3
commit
8a6bb08134
|
@ -948,7 +948,7 @@ where
|
|||
async fn rustls_client_config() -> anyhow::Result<ClientConfig> {
|
||||
let mut cert_store = RootCertStore {
|
||||
roots: webpki_roots::TLS_SERVER_ROOTS
|
||||
.into_iter()
|
||||
.iter()
|
||||
.map(|anchor| {
|
||||
OwnedTrustAnchor::from_subject_spki_name_constraints(
|
||||
anchor.subject.to_vec(),
|
||||
|
|
Loading…
Reference in a new issue