c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit 02e237dfe81e26bf743ba08a8c698b0dd7e1d7a0
parent 9ae72338017b12bfbf5f871a5b484c42ff8f3556
Author: mauricefisher64 <92736594+mauricefisher64@users.noreply.github.com>
Date:   Wed, 15 Nov 2023 12:59:14 -0500

Blake build fix (#343)

Fix build issue with Blake3 usage
Diffstat:
Msdk/src/utils/hash_utils.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk/src/utils/hash_utils.rs b/sdk/src/utils/hash_utils.rs @@ -551,7 +551,7 @@ pub fn blake3_from_asset(path: &Path) -> Result<String> { } } - let hash = hasher.finalize(); + let hash = blake3::Hasher::finalize(&hasher); Ok(hash.to_hex().as_str().to_owned()) }