Description: Relax openssl-probe to 0.2 Author: Simon Quigley Origin: vendor Forwarded: not-needed Last-Update: 2026-08-08 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Cargo.toml +++ b/Cargo.toml @@ -187,7 +187,7 @@ features = ["formatting"] version = "2.5.4" [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-probe] -version = "0.1" +version = "0.2" optional = true [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.openssl-sys] --- a/src/lib.rs +++ b/src/lib.rs @@ -892,7 +892,9 @@ fn openssl_env_init() { // dynamic linkage (plus they have some weird modifications to OpenSSL which // means we wouldn't want to link statically). #[allow(deprecated)] // FIXME: use init_openssl_env_vars instead - openssl_probe::init_ssl_cert_env_vars(); + unsafe { + openssl_probe::try_init_openssl_env_vars(); + } } #[cfg(any(