| author | |
| committer | |
| log | 790d3b997c342e1827b041b330f8f3d41613ead6 |
| tree | 2c8e3bda705a6c89a0e8a633a4d8607f3bd05ff6 |
| parent | 51e232718355b5f0d3be9732c7e545c4335adc07 |
1 files changed, 1 insertions(+), 1 deletions(-)
src/util/funcs.zig+1-1| ... | ... | @@ -270,7 +270,7 @@ pub fn validate_hash(input: []const u8, file_path: []const u8) !bool { |
| 270 | 270 | .sha256 => try do_hash(std.crypto.hash.sha2.Sha256, data), |
| 271 | 271 | .sha512 => try do_hash(std.crypto.hash.sha2.Sha512, data), |
| 272 | 272 | }; |
| 273 | const result = std.mem.eql(u8, expected, actual); | |
| 273 | const result = std.mem.startsWith(u8, actual, expected); | |
| 274 | 274 | if (!result) { |
| 275 | 275 | std.log.info("expected: {s}, actual: {s}", .{ expected, actual }); |
| 276 | 276 | } |