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

Commit 41f6eab3 authored by Andrew Scull's avatar Andrew Scull Committed by Automerger Merge Worker
Browse files

identity: fix CBOR 8-byte integer encoding am: 29ba0649 am: eb0b5841 am: ef744ddd

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

Change-Id: Iee14180cf5135ff74dcf22a23604feff786368c1
parents 6ad8f4ea ef744ddd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ void eicCborBegin(EicCbor* cbor, int majorType, size_t size) {
        data[4] = size & 0xff;
        eicCborAppend(cbor, data, 5);
    } else {
        data[0] = (majorType << 5) | 24;
        data[0] = (majorType << 5) | 27;
        data[1] = (((uint64_t)size) >> 56) & 0xff;
        data[2] = (((uint64_t)size) >> 48) & 0xff;
        data[3] = (((uint64_t)size) >> 40) & 0xff;