We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eabd4e commit c5a28c3Copy full SHA for c5a28c3
1 file changed
src/lib.rs
@@ -1542,6 +1542,19 @@ impl Ssl {
1542
// Otherwise, try to load the default cert file or cert dir.
1543
let mut verify_roots = OwnedX509Store::default();
1544
1545
+ println!(
1546
+ "verify_certs file={:?} dirs={:?}",
1547
+ ctx.default_cert_file, ctx.default_cert_dir
1548
+ );
1549
1550
+ "verify_certs file_exists={:?}",
1551
+ ctx.default_cert_file.as_ref().map(|p| p.exists())
1552
1553
1554
+ "verify_certs dir_exists={:?}",
1555
+ ctx.default_cert_dir.as_ref().map(|p| p.exists())
1556
1557
+
1558
if let Some(default_cert_file) = &ctx.default_cert_file {
1559
verify_roots.add_from_files([default_cert_file.to_path_buf()])?;
1560
} else if let Some(default_cert_dir) = &ctx.default_cert_dir {
0 commit comments