From f7f8fc5fbc39841d649e8cec44b32cc0aced0b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20D=C3=B3ka?= <60517552+jakubDoka@users.noreply.github.com> Date: Tue, 19 Nov 2024 20:48:04 +0100 Subject: [PATCH] Update sev_hashes.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub Dóka <60517552+jakubDoka@users.noreply.github.com> --- src/measurement/sev_hashes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/measurement/sev_hashes.rs b/src/measurement/sev_hashes.rs index e5f31e29..7cac8636 100644 --- a/src/measurement/sev_hashes.rs +++ b/src/measurement/sev_hashes.rs @@ -20,7 +20,7 @@ use crate::error::*; type Sha256Hash = [u8; 32]; -#[cfg(all(not(feature = "openssl"), feature = "crypto_nossl")))] +#[cfg(all(not(feature = "openssl"), feature = "crypto_nossl"))] fn sha256(data: &[u8]) -> Sha256Hash { use sha2::Digest as _; let mut sha = sha2::Sha256::default();