diff --git a/libwvdrmengine/oemcrypto/test/oec_session_util.cpp b/libwvdrmengine/oemcrypto/test/oec_session_util.cpp index 63951d2f..0cbe37bd 100644 --- a/libwvdrmengine/oemcrypto/test/oec_session_util.cpp +++ b/libwvdrmengine/oemcrypto/test/oec_session_util.cpp @@ -1358,6 +1358,9 @@ void Session::GenerateVerifyReport(const std::string& pst, Test_PST_Report expected(pst, status); ASSERT_NO_FATAL_FAILURE(VerifyReport(expected, time_license_received, time_first_decrypt, time_last_decrypt)); + // The PST report was signed above. Below we verify that the entire message + // that is sent to the server will be signed by the right mac keys. + ASSERT_NO_FATAL_FAILURE(VerifyClientSignature()); } void Session::CreateOldEntry(const Test_PST_Report& report) { diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp index c02121fb..38b9bb0a 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_test.cpp @@ -5502,9 +5502,9 @@ TEST_P(UsageTableTestWithMAC, ReloadOfflineLicenseWithRefresh) { ASSERT_NO_FATAL_FAILURE(s.close()); } -// Verify that a license that has been we can still reload an offline license -// after OEMCrypto_Terminate and Initialize are called. This is as close to a -// reboot as we can do in a unit test. +// Verify that we can still reload an offline license after OEMCrypto_Terminate +// and Initialize are called. This is as close to a reboot as we can do in a +// unit test. TEST_P(UsageTableTestWithMAC, ReloadOfflineLicenseWithTerminate) { std::string pst = "my_pst"; Session s;