11 lines
264 B
Rust
11 lines
264 B
Rust
use crate::{CertPaths, CertificateResult};
|
|
|
|
pub fn load_native_certs() -> CertificateResult {
|
|
let likely_locations = openssl_probe::probe();
|
|
CertPaths {
|
|
file: likely_locations.cert_file,
|
|
dirs: likely_locations.cert_dir,
|
|
}
|
|
.load()
|
|
}
|