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

Commit 839ef0db 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

Change-Id: I7c765d18c3a6fc8e9741e45802f2991b07cf6fdf
parents 62ce08c3 a22bc745
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};