diff --git a/crates/wzp-relay/Cargo.toml b/crates/wzp-relay/Cargo.toml index c4896cc..6dad640 100644 --- a/crates/wzp-relay/Cargo.toml +++ b/crates/wzp-relay/Cargo.toml @@ -20,6 +20,7 @@ bytes = { workspace = true } serde = { workspace = true } toml = "0.8" anyhow = "1" +rustls = { version = "0.23", default-features = false, features = ["ring", "std"] } [[bin]] name = "wzp-relay" diff --git a/crates/wzp-relay/src/main.rs b/crates/wzp-relay/src/main.rs index f50db81..23e043d 100644 --- a/crates/wzp-relay/src/main.rs +++ b/crates/wzp-relay/src/main.rs @@ -200,6 +200,9 @@ struct WaitingClient { async fn main() -> anyhow::Result<()> { let config = parse_args(); tracing_subscriber::fmt().init(); + rustls::crypto::ring::default_provider() + .install_default() + .expect("failed to install rustls crypto provider"); info!(addr = %config.listen_addr, "WarzonePhone relay starting"); if let Some(remote) = config.remote_relay {