summaryrefslogtreecommitdiff
path: root/server/bot
diff options
context:
space:
mode:
Diffstat (limited to 'server/bot')
-rw-r--r--server/bot/Cargo.toml1
-rw-r--r--server/bot/src/main.rs4
2 files changed, 5 insertions, 0 deletions
diff --git a/server/bot/Cargo.toml b/server/bot/Cargo.toml
index bd8cbe36..e00855cd 100644
--- a/server/bot/Cargo.toml
+++ b/server/bot/Cargo.toml
@@ -9,3 +9,4 @@ hurrycurry-protocol = { path = "../protocol" }
log = "0.4.22"
anyhow = "1.0.86"
env_logger = "0.11.5"
+rustls = { version = "0.23.12", features = ["ring"] }
diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs
index c07bfa92..ca5f8c92 100644
--- a/server/bot/src/main.rs
+++ b/server/bot/src/main.rs
@@ -39,6 +39,10 @@ pub trait BotAlgo {
fn main() -> Result<()> {
env_logger::init_from_env("LOG");
+ rustls::crypto::ring::default_provider()
+ .install_default()
+ .unwrap();
+
let mut network = Network::connect(
&std::env::args()
.nth(1)