mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04:00
Calculate checksum for unknown volumes
This commit is contained in:
parent
0b3c2aee9c
commit
29a41e880c
1 changed files with 1 additions and 1 deletions
|
@ -815,7 +815,7 @@ UINT8 FfsEngine::parseVolume(const QByteArray & volume, QModelIndex & index, co
|
|||
|
||||
// Check header checksum by recalculating it
|
||||
bool msgInvalidChecksum = false;
|
||||
if (!volumeIsUnknown && calculateChecksum16((const UINT16*)volumeHeader, volumeHeader->HeaderLength))
|
||||
if (calculateChecksum16((const UINT16*)volumeHeader, volumeHeader->HeaderLength))
|
||||
msgInvalidChecksum = true;
|
||||
|
||||
// Get info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue