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

Commit a190ddf9 authored by Andres Morales's avatar Andres Morales
Browse files

pass in correct buffer to print_id

hdr.id is actually larger than sha

Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
parent dff18174
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ int main(int argc, char **argv)
    }

    if (get_id) {
        print_id(sha, sizeof(hdr.id));
        print_id((uint8_t *) hdr.id, sizeof(hdr.id));
    }

    return 0;