summaryrefslogtreecommitdiff
path: root/server/registry/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-21 19:13:26 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-21 19:13:26 +0200
commitf2a61d6d60ba1d628ccc7ee3b591e5fdb601e59f (patch)
tree9b957a52d32923496f9e4013ccafa08628fa96b0 /server/registry/src/main.rs
parent22723935cea1d9e38df8402b332acbd7d27c8d44 (diff)
downloadhurrycurry-f2a61d6d60ba1d628ccc7ee3b591e5fdb601e59f.tar
hurrycurry-f2a61d6d60ba1d628ccc7ee3b591e5fdb601e59f.tar.bz2
hurrycurry-f2a61d6d60ba1d628ccc7ee3b591e5fdb601e59f.tar.zst
enable the "process level cryptoprovider" (TM) (TM)
Diffstat (limited to 'server/registry/src/main.rs')
-rw-r--r--server/registry/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/registry/src/main.rs b/server/registry/src/main.rs
index 2e0b7656..22f1bc0d 100644
--- a/server/registry/src/main.rs
+++ b/server/registry/src/main.rs
@@ -43,6 +43,9 @@ const MAX_SERVERS: usize = 128;
fn main() {
env_logger::init_from_env("LOG");
+ rustls::crypto::ring::default_provider()
+ .install_default()
+ .unwrap();
let address = var("BIND_ADDR")
.map(|a| IpAddr::from_str(&a).unwrap())