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
This commit is contained in:
David Drysdale
2024-02-28 11:32:35 +00:00
parent e61433d1e0
commit f3a4bea6df

View File

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