Fix TestLoadLicenseForOutOfRangeSubStringOffSetAndLengths() am: 1563fb2a27 am: 6b273fb5e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/vendor/widevine/+/18151647 Change-Id: I1a1d9443b5c99945c3adf8311ca0337549378a45 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