mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-16 16:14:47 -04:00
Fix FIT entry engine checksum (#189)
This commit is contained in:
parent
2ef8d770e4
commit
516949a6e6
1 changed files with 0 additions and 1 deletions
|
@ -3668,7 +3668,6 @@ USTATUS FfsParser::parseFit(const UModelIndex & index)
|
|||
// Calculate FIT entry checksum
|
||||
UByteArray tempFIT = model->body(fitIndex).mid(fitOffset, fitSize);
|
||||
FIT_ENTRY* tempFitHeader = (FIT_ENTRY*)tempFIT.data();
|
||||
tempFitHeader->CsFlag = 0;
|
||||
tempFitHeader->Checksum = 0;
|
||||
UINT8 calculated = calculateChecksum8((const UINT8*)tempFitHeader, fitSize);
|
||||
if (calculated != fitHeader->Checksum) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue