Don't force decrypt count to increase for bypass
Bug: 324261677 Merged from https://widevine-internal-review.googlesource.com/191631 Change-Id: I371fc22ad330402aed0e10cb3cba8641abe00bea
This commit is contained in:
committed by
Robert Shih
parent
65abd1deb7
commit
6c7988f8c9
@@ -175,8 +175,13 @@ TEST_F(OEMCryptoSessionTests, MasterGeneration_IncrementCounterAPI18) {
|
||||
|
||||
ASSERT_TRUE(prov_count2 == prov_count1);
|
||||
ASSERT_TRUE(lic_count2 > lic_count1);
|
||||
ASSERT_TRUE(decrypt_count2 > decrypt_count1);
|
||||
ASSERT_TRUE(master_generation_number2 > master_generation_number1);
|
||||
|
||||
// Log if decrypt counter hasn't gone up. Not a hard requirement, so don't
|
||||
// assert for it.
|
||||
if (decrypt_count2 <= decrypt_count1) {
|
||||
LOGE("Decrypt count did not increase.");
|
||||
}
|
||||
}
|
||||
|
||||
TEST_P(OEMCryptoUsageTableTest,
|
||||
|
||||
Reference in New Issue
Block a user