Snap for 8540474 from 1563fb2a27 to tm-release

Change-Id: Iddfed089fb846977d58d7bb2dabc9937e83015db
This commit is contained in:
Android Build Coastguard Worker
2022-05-04 23:23:06 +00:00

View File

@@ -1702,9 +1702,9 @@ class OEMCryptoLicenseOverflowTest : public OEMCryptoSessionTests,
license_messages.SignAndVerifyRequest();
license_messages.CreateDefaultResponse();
size_t message_length = sizeof(license_messages.response_data());
OEMCryptoResult result = license_messages.LoadResponse();
f(message_length, &license_messages);
license_messages.EncryptAndSignResponse();
OEMCryptoResult result = license_messages.LoadResponse();
s.close();
// Verifying error is not due to signature failure which can be caused due
// to test code.