Skip to content

Commit

Permalink
fix rustls-tls-webpki-roots build
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmdPhantom committed Aug 27, 2023
1 parent e79e2f2 commit 9be8881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ mod encryption {
}
#[cfg(feature = "rustls-tls-webpki-roots")]
{
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,
Expand Down

0 comments on commit 9be8881

Please sign in to comment.