From 1a79d4de007f9249f0c97d7ea65c97ba2d3e2a32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sat, 6 May 2023 15:40:19 +0200 Subject: [PATCH] Remove needless references --- acmed/src/storage.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)