Fix TestLoadLicenseForOutOfRangeSubStringOffSetAndLengths() am: 1563fb2a27 am: 9c122a40ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/18151647 Change-Id: I05d17d0d374871c5d9dbb81cc60954cb1c771186 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -1702,9 +1702,9 @@ class OEMCryptoLicenseOverflowTest : public OEMCryptoSessionTests,
|
|||||||
license_messages.SignAndVerifyRequest();
|
license_messages.SignAndVerifyRequest();
|
||||||
license_messages.CreateDefaultResponse();
|
license_messages.CreateDefaultResponse();
|
||||||
size_t message_length = sizeof(license_messages.response_data());
|
size_t message_length = sizeof(license_messages.response_data());
|
||||||
OEMCryptoResult result = license_messages.LoadResponse();
|
|
||||||
f(message_length, &license_messages);
|
f(message_length, &license_messages);
|
||||||
license_messages.EncryptAndSignResponse();
|
license_messages.EncryptAndSignResponse();
|
||||||
|
OEMCryptoResult result = license_messages.LoadResponse();
|
||||||
s.close();
|
s.close();
|
||||||
// Verifying error is not due to signature failure which can be caused due
|
// Verifying error is not due to signature failure which can be caused due
|
||||||
// to test code.
|
// to test code.
|
||||||
|
|||||||
Reference in New Issue
Block a user