From 0e9a3045332b4b4c7e6038d86c56d1232032d422 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Mon, 21 May 2018 17:42:10 +0200 Subject: [PATCH] stage2: package2: bypass hash checks for now --- 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 96973d223..50b435fd1 100644 --- a/fusee/fusee-secondary/src/package2.c +++ b/fusee/fusee-secondary/src/package2.c @@ -154,7 +154,7 @@ static bool package2_validate_metadata(package2_meta_t *metadata) { } /* Validate section hashes. */ - if (metadata->section_sizes[section]) { + if (false && 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]);