mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Update network stack dependencies (#30612)
- webpki-roots - webpki - async-tungstenite - rustls - rustls-webpki - ring
This commit is contained in:
parent
8fd370784e
commit
a53271d31e
4 changed files with 27 additions and 64 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue