Skip to content

Commit e6e3e69

Browse files
committed
Upgrade to openssl-probe 0.2
1 parent 27e4d40 commit e6e3e69

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ x509-parser = "0.18"
2727
schannel = "0.1"
2828

2929
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
30-
openssl-probe = "0.1.6"
30+
openssl-probe = "0.2"
3131

3232
[target.'cfg(target_os = "macos")'.dependencies]
3333
security-framework = "3"

src/unix.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ pub fn load_native_certs() -> CertificateResult {
44
let likely_locations = openssl_probe::probe();
55
CertPaths {
66
file: likely_locations.cert_file,
7-
dirs: likely_locations
8-
.cert_dir
9-
.into_iter()
10-
.collect(),
7+
dirs: likely_locations.cert_dir,
118
}
129
.load()
1310
}

0 commit comments

Comments
 (0)