aboutsummaryrefslogtreecommitdiff
path: root/pixel-client/src
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-17 13:55:44 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-17 13:55:44 +0200
commit0eecf62f974cbef7c75c20786f1c78d1d2b93344 (patch)
tree9aeb463f05335b3138fb3b49d77766986eb44d83 /pixel-client/src
parent6f1b84ff3be82681e9e229aa3d63bbaafce46c5d (diff)
downloadhurrycurry-0eecf62f974cbef7c75c20786f1c78d1d2b93344.tar
hurrycurry-0eecf62f974cbef7c75c20786f1c78d1d2b93344.tar.bz2
hurrycurry-0eecf62f974cbef7c75c20786f1c78d1d2b93344.tar.zst
add ssl capability
Diffstat (limited to 'pixel-client/src')
-rw-r--r--pixel-client/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/pixel-client/src/main.rs b/pixel-client/src/main.rs
index a70dca04..76735c35 100644
--- a/pixel-client/src/main.rs
+++ b/pixel-client/src/main.rs
@@ -61,6 +61,10 @@ fn main() {
let args = Args::parse();
+ rustls::crypto::ring::default_provider()
+ .install_default()
+ .unwrap();
+
let sdl_context = sdl2::init().unwrap();
let video_subsystem = sdl_context.video().unwrap();