Remove Test Keybox Again
Merge from Widevine repo of http://go/wvgerrit/69563 This CL also disables unit tests that depend on the old test keybox when run against OEMCrypto v13 or earlier. Unit tests that require a particular API level have been removed. This requirement for Android is tested in GTS tests. Bug: 119316243 Test: unit tests Change-Id: I9a13dbaee1693ecea906fd0184a8e2590dc5beed
This commit is contained in:
@@ -103,8 +103,6 @@ void SessionUtil::EnsureTestKeys() {
|
||||
switch (global_features.derive_key_method) {
|
||||
case DeviceFeatures::LOAD_TEST_KEYBOX:
|
||||
keybox_ = kTestKeybox;
|
||||
// TODO(fredgc, b/119316243): REMOVE FOLLOWING LINE:
|
||||
if (global_features.api_version < 14) keybox_ = kTestKeyboxForV13;
|
||||
ASSERT_EQ(OEMCrypto_SUCCESS,
|
||||
OEMCrypto_LoadTestKeybox(
|
||||
reinterpret_cast<const uint8_t*>(&keybox_),
|
||||
|
||||
Reference in New Issue
Block a user