Skip to content

Commit

Permalink
Use new openssl_probe method that documents the unsafety
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Feb 6, 2025
1 parent dab6f32 commit 20716d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ use env::{PLAYGROUND_GITHUB_TOKEN, PLAYGROUND_UI_ROOT};
fn main() {
// Dotenv may be unable to load environment variables, but that's ok in production
let _ = dotenv::dotenv();
openssl_probe::init_ssl_cert_env_vars();
// SAFETY: We have not started any other threads yet.
unsafe { openssl_probe::init_openssl_env_vars(); }

// Info-level logging is enabled by default.
tracing_subscriber::fmt()
Expand Down

0 comments on commit 20716d3

Please sign in to comment.