diff options
Diffstat (limited to 'security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp')
-rw-r--r-- | security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp index ec2194454f..3da048449b 100644 --- a/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp +++ b/security/keymint/aidl/vts/functional/KeyMintAidlTestBase.cpp @@ -903,7 +903,7 @@ bool verify_attestation_record(const string& challenge, // if (att_hw_enforced[i].tag == TAG_BOOT_PATCHLEVEL || att_hw_enforced[i].tag == TAG_VENDOR_PATCHLEVEL) { std::string date = - std::to_string(att_hw_enforced[i].value.get<KeyParameterValue::dateTime>()); + std::to_string(att_hw_enforced[i].value.get<KeyParameterValue::integer>()); // strptime seems to require delimiters, but the tag value will // be YYYYMMDD date.insert(6, "-"); |