Fix some unit tests
Merge from Widevine repo of http://go/wvgerrit/42020 This CL fixes the OEMCrypto unit tests for refresh license. Test: ran unit tests bug: 64851667 bug: 72497813 Change-Id: Ice1661fd832793358b725be9016d85465f6b8d14
This commit is contained in:
committed by
Rahul Frias
parent
9ae7489938
commit
8230484de2
@@ -566,7 +566,7 @@ void Session::FillRefreshMessage(size_t key_count, uint32_t control_bits,
|
||||
encrypted_license().keys[i].key_id_length);
|
||||
if (global_features.api_version == 14) {
|
||||
// For version 14, we require OEMCrypto to handle kc14 for all licenses.
|
||||
memcpy(license_.keys[i].control.verification, "kc14", 4);
|
||||
memcpy(encrypted_license().keys[i].control.verification, "kc14", 4);
|
||||
} else if (global_features.api_version == 13) {
|
||||
// For version 13, we require OEMCrypto to handle kc13 for all licenses.
|
||||
memcpy(encrypted_license().keys[i].control.verification, "kc13", 4);
|
||||
|
||||
Reference in New Issue
Block a user