mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
Allow extra ID attestation error codes
When deliberately testing invalid ID attestation, use the helper
function (which checks the error return code is correct) in one more
place.
Test: VtsAidlKeyMintTargetTest
Bug: 286733800
Change-Id: I6ea5bd7ee19b3b172330117bfde1b16745debba7
(cherry-picked from commit c68dc93788)
Merged-In: I6ea5bd7ee19b3b172330117bfde1b16745debba7
This commit is contained in:
@@ -1938,7 +1938,8 @@ TEST_P(NewKeyGenerationTest, EcdsaAttestationTags) {
|
||||
builder, &key_blob, &key_characteristics);
|
||||
}
|
||||
}
|
||||
ASSERT_EQ(error, ErrorCode::CANNOT_ATTEST_IDS);
|
||||
|
||||
device_id_attestation_check_acceptable_error(tag.tag, error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user