Skip to content

Commit 49e1eb4

Browse files
Fix bug
1 parent a8b79b5 commit 49e1eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guest-libs/sha2/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn set_sha384(input: &[u8], output: &mut [u8; 48]) {
7474
}
7575
#[cfg(target_os = "zkvm")]
7676
{
77-
let output_64: [u8; 64] = [0; 64];
77+
let mut output_64: [u8; 64] = [0; 64];
7878
openvm_sha2_guest::zkvm_sha384_impl(
7979
input.as_ptr(),
8080
input.len(),

0 commit comments

Comments
 (0)