Update network stack dependencies (#30612)

- webpki-roots
- webpki
- async-tungstenite
- rustls
- rustls-webpki
- ring
This commit is contained in:
Martin Robinson 2023-11-02 19:41:25 +01:00 committed by GitHub
parent 8fd370784e
commit a53271d31e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 64 deletions

View file

@ -180,7 +180,7 @@ impl CertificateVerificationOverrideVerifier {
let root_cert_store = match ca_certficates {
CACertificates::Default => {
let mut root_cert_store = rustls::RootCertStore::empty();
root_cert_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.0.iter().map(
root_cert_store.add_trust_anchors(webpki_roots::TLS_SERVER_ROOTS.iter().map(
|trust_anchor| {
OwnedTrustAnchor::from_subject_spki_name_constraints(
trust_anchor.subject,