mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
Calculate checksum for unknown volumes
This commit is contained in:
parent
0b3c2aee9c
commit
29a41e880c
@ -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…
Reference in New Issue
Block a user