Skip to content

Commit 03650dd

Browse files
committed
hmm
1 parent 1c1de38 commit 03650dd

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1542,6 +1542,22 @@ impl Ssl {
15421542
// Otherwise, try to load the default cert file or cert dir.
15431543
let mut verify_roots = OwnedX509Store::default();
15441544

1545+
println!(
1546+
"verify_certs file={:?} dirs={:?}",
1547+
ctx.default_cert_file, ctx.default_cert_dir
1548+
);
1549+
println!(
1550+
"verify_certs file_exists={:?}",
1551+
ctx.default_cert_file.as_ref().map(|p| p.exists())
1552+
);
1553+
println!(
1554+
"verify_certs dirs_exists={:?}",
1555+
ctx.default_cert_dir
1556+
.iter()
1557+
.map(|p| p.exists())
1558+
.collect::<Vec<_>>()
1559+
);
1560+
15451561
if let Some(default_cert_file) = &ctx.default_cert_file {
15461562
verify_roots.add_from_files([default_cert_file.to_path_buf()])?;
15471563
}

0 commit comments

Comments
 (0)