Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3a4bea6 authored by David Drysdale's avatar David Drysdale
Browse files

KeyMint: add separator for debugging output

When dumping attestation certificate chains with the --dump_attestations
option, add a separator between distinct chains to make them easier to
analyze.

Bug: 326564087
Test: VtsAidlKeyMintTargetTest
Change-Id: Ife19edfddef6c8cd26de9f9816c3c9bf65cbb929
parent e61433d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2024,7 +2024,7 @@ AssertionResult ChainSignaturesAreValid(const vector<Certificate>& chain,
        }
    }

    if (KeyMintAidlTestBase::dump_Attestations) std::cout << cert_data.str();
    if (KeyMintAidlTestBase::dump_Attestations) std::cout << "cert chain:\n" << cert_data.str();
    return AssertionSuccess();
}