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

Commit 7d227c18 authored by Janis Danisevskis's avatar Janis Danisevskis Committed by android-build-merger
Browse files

Fix expected attestation version. am: 538b7d85 am: db5b71c9

am: dd4358f6

Change-Id: I19bfa667a44397047f7d469a11c8256156c3df72
parents 3ab57c7a dd4358f6
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -967,11 +967,7 @@ bool verify_attestation_record(const string& challenge, const string& app_id,
                                       &att_tee_enforced,                //
                                       &att_unique_id));

    if (att_keymaster_version == 3) {
        EXPECT_EQ(2U, att_attestation_version);
    } else {
        EXPECT_EQ(1U, att_attestation_version);
    }
    EXPECT_TRUE(att_attestation_version == 1 || att_attestation_version == 2);

    expected_sw_enforced.push_back(TAG_ATTESTATION_APPLICATION_ID,
                                   HidlBuf(app_id));