mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04:00
UE 0.10.2
- solved a bug in parsing of signed GUID defined sections
This commit is contained in:
parent
cb9ecc4b43
commit
48384557a5
4 changed files with 69 additions and 46 deletions
|
@ -55,6 +55,8 @@ QString itemTypeToQString(const UINT8 type)
|
|||
return QObject::tr("Section");
|
||||
case Types::FreeSpace:
|
||||
return QObject::tr("Free space");
|
||||
case Types::Signature:
|
||||
return QObject::tr("Signature");
|
||||
default:
|
||||
return QObject::tr("Unknown");
|
||||
}
|
||||
|
@ -106,6 +108,13 @@ QString itemSubtypeToQString(const UINT8 type, const UINT8 subtype)
|
|||
return sectionTypeToQString(subtype);
|
||||
case Types::FreeSpace:
|
||||
return QString();
|
||||
case Types::Signature:
|
||||
if (subtype == Subtypes::UefiSignature)
|
||||
return QObject::tr("UEFI");
|
||||
else if (subtype == Subtypes::Pkcs7Signature)
|
||||
return QObject::tr("PKCS#7");
|
||||
else
|
||||
return QObject::tr("Unknown subtype");
|
||||
default:
|
||||
return QObject::tr("Unknown subtype");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue