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

Commit 322bb45c authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10216924 from de19c07e to udc-qpr1-release

Change-Id: Ia30c842cdb57b206edcb17663076fb7ba05586f6
parents b56f78d9 de19c07e
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -60,13 +60,9 @@ class BootloaderStateTest : public KeymasterHidlTest {
        ASSERT_TRUE(attest_rec) << "Failed to get attestation record.";

        // Parse root of trust.
        HidlBuf verified_boot_key;
        keymaster_verified_boot_t verified_boot_state;
        bool device_locked;
        HidlBuf verified_boot_hash;
        auto result =
                parse_root_of_trust(attest_rec->data, attest_rec->length, &verified_boot_key,
                                    &verified_boot_state, &device_locked, &verified_boot_hash);
        auto result = parse_root_of_trust(attest_rec->data, attest_rec->length, &attestedVbKey_,
                                          &attestedVbState_, &attestedBootloaderState_,
                                          &attestedVbmetaDigest_);
        ASSERT_EQ(result, ErrorCode::OK) << "Failed to parse root of trust.";
    }