mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-22 07:58:22 +08:00
trivial: Fix the position of the colon when dumping the KM pubkey
This kinda matters when parsing the output using Python...
This commit is contained in:
parent
cd22c3db2b
commit
0429225c56
@ -481,7 +481,7 @@ USTATUS FitParser::parseFitEntryBootGuardKeyManifest(const UByteArray & keyManif
|
|||||||
|
|
||||||
// Add PubKey
|
// Add PubKey
|
||||||
kmInfo += usprintf("Key Manifest Public Key Exponent: %Xh\n", key_signature->public_key()->exponent());
|
kmInfo += usprintf("Key Manifest Public Key Exponent: %Xh\n", key_signature->public_key()->exponent());
|
||||||
kmInfo += usprintf("Key Manifest Public Key :");
|
kmInfo += usprintf("Key Manifest Public Key: ");
|
||||||
for (UINT16 i = 0; i < (UINT16)key_signature->public_key()->modulus().length(); i++) {
|
for (UINT16 i = 0; i < (UINT16)key_signature->public_key()->modulus().length(); i++) {
|
||||||
if (i % 32 == 0) kmInfo += UString("\n");
|
if (i % 32 == 0) kmInfo += UString("\n");
|
||||||
kmInfo += usprintf("%02X", (UINT8)key_signature->public_key()->modulus().at(i));
|
kmInfo += usprintf("%02X", (UINT8)key_signature->public_key()->modulus().at(i));
|
||||||
|
Loading…
Reference in New Issue
Block a user