Skip to content

Commit c23e1d7

Browse files
committed
switch websocket to aws-lc
1 parent 3baa5ae commit c23e1d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/websocket/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ futures-util = "0.3"
3232
tokio = { version = "1", features = ["net", "sync"] }
3333
tokio-tungstenite = { version = "0.28" }
3434
rustls = { version = "0.23", default-features = false, features = [
35-
"ring",
35+
"aws_lc_rs",
3636
], optional = true }
3737

3838
[features]

plugins/websocket/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ where
321321
&& rustls::crypto::CryptoProvider::get_default().is_none()
322322
{
323323
// This can only fail if there is already a default provider which we checked for already.
324-
let _ = rustls::crypto::ring::default_provider().install_default();
324+
let _ = rustls::crypto::aws_lc_rs::default_provider().install_default();
325325
}
326326

327327
app.manage(ConnectionManager::default());

0 commit comments

Comments
 (0)