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

Commit 465c154d authored by Shawn Willden's avatar Shawn Willden Committed by android-build-merger
Browse files

Merge "Fix Keymaster HAL crash." into oc-dev am: a22bc745

am: 839ef0db

Change-Id: Iff8c31d686680a33674a4f5a480c3bf90c8bd4be
parents 11397b83 839ef0db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -549,6 +549,7 @@ Return<void> KeymasterDevice::attestKey(const hidl_vec<uint8_t>& keyToAttest,
    if (!foundAttestationApplicationId) {
        _hidl_cb(ErrorCode::ATTESTATION_APPLICATION_ID_MISSING,
                 resultCertChain);
        return Void();
    }

    keymaster_cert_chain_t cert_chain{nullptr, 0};