Allow decryption of unencrypted data before key has been retrieved
[ Merge of http://go/wvgerrit/25987 ] Test: Added Cdm/WvCdmSessionSharingNoKeyTest to request_license_test. Verified by wv unit and integration tests. b/28182987 Change-Id: I9039bc1fca83e2c1044c3af2f47f31dc4fb5c910
This commit is contained in:
@@ -379,7 +379,7 @@ CdmResponseType WvContentDecryptionModule::Decrypt(
|
||||
cdm_engine->GetMetrics(),
|
||||
cdm_engine_find_session_for_key_,
|
||||
status);
|
||||
if (!status) return KEY_NOT_FOUND_IN_SESSION;
|
||||
if (!status && parameters.is_encrypted) return KEY_NOT_FOUND_IN_SESSION;
|
||||
}
|
||||
CdmResponseType sts;
|
||||
M_TIME(
|
||||
|
||||
Reference in New Issue
Block a user