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:
Richard Hughes 2022-10-11 14:34:30 +01:00 committed by Nikolaj Schlej
parent cd22c3db2b
commit 0429225c56

View File

@ -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));