Allow PSSH data to be unspecified on license renewal

Currently the CDM requires the caller to specify init data both on key
generation and renewal requests. With this change the CDM relaxes
this requirement for renewals.

Bug: 8732893

Merge of https://widevine-internal-review.googlesource.com/#/c/5322/
from Widevine CDM repo

Change-Id: Idf4ad2bdb20023da4f30bc369ed87eb811c1c4d9
This commit is contained in:
Jeff Tinker
2013-04-30 17:31:08 -07:00
parent d291efc823
commit 4bce2959ef
5 changed files with 16 additions and 20 deletions

View File

@@ -62,9 +62,10 @@ class WvCdmRequestLicenseTest : public testing::Test {
}
void GenerateRenewalRequest(const std::string& key_system,
const std::string& init_data) {
const std::string& not_used) {
// TODO application makes a license request, CDM will renew the license
// when appropriate.
std::string init_data;
wvcdm::CdmAppParameterMap app_parameters;
std::string server_url;
EXPECT_EQ(decryptor_.GenerateKeyRequest(session_id_,