commit | f3a4bea6dfe926a49c09ff23240b13fc05c2fc6d | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Wed Feb 28 11:32:35 2024 +0000 |
committer | David Drysdale <drysdale@google.com> | Wed Feb 28 11:32:35 2024 +0000 |
tree | 04fe0c8a7760064053570b535769f63a8cbb3342 | |
parent | e61433d1e0cd63414ead2fb2d3c2b5120978ad74 [diff] |
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
diff --git a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp index 087f763..c121d31 100644 --- a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp
@@ -2024,7 +2024,7 @@ } } - if (KeyMintAidlTestBase::dump_Attestations) std::cout << cert_data.str(); + if (KeyMintAidlTestBase::dump_Attestations) std::cout << "cert chain:\n" << cert_data.str(); return AssertionSuccess(); }