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

Commit a26f8cb3 authored by Tri Vo's avatar Tri Vo Committed by Gerrit Code Review
Browse files

Merge "KeyMint VTS: Expect empty key if boot state unverfied"

parents b9fbe11d af291416
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1619,7 +1619,7 @@ bool verify_attestation_record(int32_t aidl_version, //
        EXPECT_EQ(verified_boot_state, VerifiedBoot::FAILED);
    } else {
        EXPECT_EQ(verified_boot_state, VerifiedBoot::UNVERIFIED);
        EXPECT_NE(0, memcmp(verified_boot_key.data(), empty_boot_key.data(),
        EXPECT_EQ(0, memcmp(verified_boot_key.data(), empty_boot_key.data(),
                            verified_boot_key.size()));
    }