Skip to content

RUST-2144 Remove use of deprecated openssl_probe method #1294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
move comment
  • Loading branch information
isabelatkinson committed Jan 30, 2025
commit d67cb8e2014c26c76b330b287d15cc8ff1f01e74
6 changes: 4 additions & 2 deletions src/runtime/tls_openssl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,10 @@ fn make_openssl_connector(cfg: TlsOptions) -> Result<SslConnector> {
fn init_trust() {
static ONCE: Once = Once::new();
// nosemgrep: unsafe-usage
ONCE.call_once(|| unsafe { openssl_probe::init_openssl_env_vars() }) // mongodb rating: No Fix
// Needed
ONCE.call_once(|| unsafe {
// mongodb rating: No Fix Needed
openssl_probe::init_openssl_env_vars()
})
}

fn make_ssl_stream(
Expand Down