diff --git a/src/utils.rs b/src/utils.rs index 78e9adf..3921e73 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -177,7 +177,7 @@ pub fn sha256_digest(_dependency: &HttpDependency) -> String { /// Hash the contents of a Reader with SHA256 pub fn hash_content(content: &mut R) -> [u8; 32] { let mut hasher = ::new(); - let mut buf = [0; 8192]; + let mut buf = [0; 1024]; while let Ok(size) = content.read(&mut buf) { if size == 0 { break;