Removing an extraneous test

Test: VTS passes
Bug: 133316458
Change-Id: I98d73ff025515a89e2743ed20950c840aedb5114
This commit is contained in:
Max Bires
2019-05-22 00:48:49 +00:00
parent 8c0edf6c84
commit b28e69f37e

View File

@@ -4154,28 +4154,6 @@ TEST_F(AttestationTest, RsaAttestationRequiresAppId) {
&cert_chain));
}
/*
* AttestationTest.RsaAttestationRequiresCorrectAppId
*
* Verifies that attesting to RSA requires the correct app ID.
*/
TEST_F(AttestationTest, RsaAttestationRequiresCorrectAppId) {
ASSERT_EQ(ErrorCode::OK,
GenerateKey(AuthorizationSetBuilder()
.Authorization(TAG_NO_AUTH_REQUIRED)
.RsaSigningKey(2048, 65537)
.Digest(Digest::NONE)
.Padding(PaddingMode::NONE)
.Authorization(TAG_APPLICATION_ID, HidlBuf("lol"))));
hidl_vec<hidl_vec<uint8_t>> cert_chain;
EXPECT_EQ(ErrorCode::ATTESTATION_APPLICATION_ID_MISSING,
AttestKey(AuthorizationSetBuilder()
.Authorization(TAG_ATTESTATION_CHALLENGE, HidlBuf("challenge"))
.Authorization(TAG_APPLICATION_ID, HidlBuf("heh")),
&cert_chain));
}
/*
* AttestationTest.EcAttestation
*