mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-01 02:37:27 +01:00
stage2: package2: bypass hash checks for now
This commit is contained in:
parent
ecb83903c0
commit
0e9a304533
@ -154,7 +154,7 @@ static bool package2_validate_metadata(package2_meta_t *metadata) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Validate section hashes. */
|
/* Validate section hashes. */
|
||||||
if (metadata->section_sizes[section]) {
|
if (false && metadata->section_sizes[section]) {
|
||||||
void *section_data = package2->data + cur_section_offset;
|
void *section_data = package2->data + cur_section_offset;
|
||||||
uint8_t calculated_hash[0x20];
|
uint8_t calculated_hash[0x20];
|
||||||
se_calculate_sha256(calculated_hash, section_data, metadata->section_sizes[section]);
|
se_calculate_sha256(calculated_hash, section_data, metadata->section_sizes[section]);
|
||||||
|
Loading…
Reference in New Issue
Block a user