]> git.proxmox.com Git - proxmox-backup.git/blobdiff - pbs-tools/src/cert.rs
update to proxmox-sys 0.2 crate
[proxmox-backup.git] / pbs-tools / src / cert.rs
index 189d07575f059eefc52dacaa848f084705f80e19..f438f6a377ad37ac99aa1b712ff1410707f3f2fb 100644 (file)
@@ -41,7 +41,7 @@ fn x509name_to_string(name: &openssl::x509::X509NameRef) -> Result<String, Error
 
 impl CertInfo {
     pub fn from_path(path: PathBuf) -> Result<Self, Error> {
-        Self::from_pem(&proxmox::tools::fs::file_get_contents(&path)?)
+        Self::from_pem(&proxmox_sys::fs::file_get_contents(&path)?)
             .map_err(|err| format_err!("failed to load certificate from {:?} - {}", path, err))
     }