mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
Unstub "Validate section hashes."
This commit is contained in:
parent
eaf8e559d6
commit
16ad355f45
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ static bool package2_validate_metadata(package2_meta_t *metadata) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Validate section hashes. */
|
/* Validate section hashes. */
|
||||||
if (false && metadata->section_sizes[section]) {
|
if (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 a new issue