diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp index 0141bb64..c011dcdf 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp @@ -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.