Fix entitlement keys encryption and content key loading.
Merge from Widevine repo of http://go/wvgerrit/41831 Bug: 72418096 OEMCrypto14 entitlement keys failed decryption testing Test: in child CL Change-Id: Ie92c34edb6162fb1e4553c5364f478de189ab793
This commit is contained in:
committed by
Rahul Frias
parent
795cf8a624
commit
8de7caf788
@@ -5265,7 +5265,7 @@ TEST_F(UsageTableDefragTest, ReloadUsageEntryBadData) {
|
||||
ASSERT_NO_FATAL_FAILURE(s.open());
|
||||
ASSERT_NO_FATAL_FAILURE(InstallTestSessionKeys(&s));
|
||||
vector<uint8_t> data = s.encrypted_usage_entry();
|
||||
ASSERT_LT(0, data.size());
|
||||
ASSERT_LT(0UL, data.size());
|
||||
data[0] ^= 42;
|
||||
// Error could be signature or verification error.
|
||||
ASSERT_NE(OEMCrypto_SUCCESS,
|
||||
|
||||
Reference in New Issue
Block a user