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

Commit e924c7b6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "vts: Correct the TagType when verify_attestation_record" am: d997c729

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1668946

Change-Id: Id9fd71374a32fb37e4b8aace76cf153ec5907fb7
parents 18d02e3a d997c729
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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, "-");