Skip to content

Commit

Permalink
Update sev_hashes.rs
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dóka <[email protected]>
  • Loading branch information
jakubDoka authored Nov 19, 2024
1 parent 0b1b3b6 commit f7f8fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/measurement/sev_hashes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f7f8fc5

Please sign in to comment.