diff --git a/acmed/src/storage.rs b/acmed/src/storage.rs index f501d8d..37d8719 100644 --- a/acmed/src/storage.rs +++ b/acmed/src/storage.rs @@ -249,7 +249,7 @@ pub async fn get_keypair_path(fm: &FileManager) -> Result { } pub async fn get_keypair(fm: &FileManager) -> Result { - let path = get_keypair_path(&fm).await?; + let path = get_keypair_path(fm).await?; let raw_key = read_file(fm, &path).await?; let key = KeyPair::from_pem(&raw_key)?; Ok(key) @@ -265,7 +265,7 @@ pub async fn get_certificate_path(fm: &FileManager) -> Result { } pub async fn get_certificate(fm: &FileManager) -> Result { - let path = get_certificate_path(&fm).await?; + let path = get_certificate_path(fm).await?; let raw_crt = read_file(fm, &path).await?; let crt = X509Certificate::from_pem(&raw_crt)?; Ok(crt)