mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Fix Keymaster HAL crash.
Test: VTS test validates this fix Change-Id: I5996c2166cf4141c97424df64a380f45b001d52e
This commit is contained in:
@@ -547,6 +547,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};
|
||||
|
||||
Reference in New Issue
Block a user