From 16ad355f45187c4418d532d4c0a4c7b618c3eef9 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Wed, 23 May 2018 18:45:53 +0200 Subject: [PATCH] Unstub "Validate section hashes." --- fusee/fusee-secondary/src/package2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusee/fusee-secondary/src/package2.c b/fusee/fusee-secondary/src/package2.c index 5e543751d..a24b7cf0b 100644 --- a/fusee/fusee-secondary/src/package2.c +++ b/fusee/fusee-secondary/src/package2.c @@ -159,7 +159,7 @@ static bool package2_validate_metadata(package2_meta_t *metadata) { } /* Validate section hashes. */ - if (false && metadata->section_sizes[section]) { + if (metadata->section_sizes[section]) { void *section_data = package2->data + cur_section_offset; uint8_t calculated_hash[0x20]; se_calculate_sha256(calculated_hash, section_data, metadata->section_sizes[section]);