mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Use aws-lc-rs as rust-tls provider (#35106)
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
534e78db53
commit
764feada30
11 changed files with 124 additions and 26 deletions
|
@ -67,7 +67,7 @@ getopts = { workspace = true }
|
|||
hitrace = { workspace = true, optional = true }
|
||||
mime_guess = { workspace = true }
|
||||
url = { workspace = true }
|
||||
rustls = { version = "0.23", default-features = false, features = ["ring"] }
|
||||
rustls = { workspace = true, features = ["aws-lc-rs"] }
|
||||
tokio = { workspace = true }
|
||||
tracing = { workspace = true, optional = true }
|
||||
tracing-subscriber = { workspace = true, optional = true, features = ["env-filter"] }
|
||||
|
|
|
@ -39,7 +39,7 @@ pub fn main() {
|
|||
}
|
||||
|
||||
pub fn init_crypto() {
|
||||
rustls::crypto::ring::default_provider()
|
||||
rustls::crypto::aws_lc_rs::default_provider()
|
||||
.install_default()
|
||||
.expect("Error initializing crypto provider");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue