From 516949a6e66f1cff3acd5c019175f895f4fdc54e Mon Sep 17 00:00:00 2001 From: serg-pushkarev Date: Mon, 20 Jan 2020 03:18:15 +0300 Subject: [PATCH] Fix FIT entry engine checksum (#189) --- common/ffsparser.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/ffsparser.cpp b/common/ffsparser.cpp index 7e830fe..c744fb7 100644 --- a/common/ffsparser.cpp +++ b/common/ffsparser.cpp @@ -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) {