commit | 555ba00c0f2adb6bed6f507a78e43885e9f46048 | [log] [tgz] |
---|---|---|
author | David Drysdale <drysdale@google.com> | Tue May 03 18:48:57 2022 +0100 |
committer | David Drysdale <drysdale@google.com> | Tue May 03 18:50:58 2022 +0100 |
tree | 7205060774036e42fb3d335d7f1c261ffd3febd7 | |
parent | 6d8dcd4aba0a050211b546dda12205ec6750a3fc [diff] [blame] |
KeyMint VTS: skip device ID checks on GSI Bug: 229356841 Test: VtsAidlKeyMintTargetTest Change-Id: I3182bad5584c35df7b1eeb476dabb39d19fdf12c
diff --git a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h index 7279c95..2634ab7 100644 --- a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h +++ b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.h
@@ -354,6 +354,9 @@ } } +// Indicate whether the test is running on a GSI image. +bool is_gsi_image(); + vector<uint8_t> build_serial_blob(const uint64_t serial_int); void verify_subject(const X509* cert, const string& subject, bool self_signed); void verify_serial(X509* cert, const uint64_t expected_serial);