blob: cb8c224a3b39e294fb54b532268861f22655fd26 [file] [log] [blame] [edit]
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
.into_iter()
.collect(),
}
.load()
}