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

Commit ae5559fa 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 am: e924c7b6

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

Change-Id: Ia8a1eaebbffdad5fcbf5b16a6040fbb0d1da7fda
parents 523354c8 e924c7b6
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, "-");