Allow entitlement and entitled session to be the same

Merge from Widevine repo of http://go/wvgerrit/160720

For DRM, but not for CAS, we allow the entitlement session
and the entitled session to be the same.

Bug: 253471127
Bug: 246566056
Bug: 245018059
Bug: 242815450
Test: oemcrypto unit tests on oriole (all but CAS tests pass)
Test: GTS
Change-Id: Ib830484be8437b1c4ce34500ae912e6c119dcfc3
This commit is contained in:
Fred Gylys-Colwell
2022-11-08 21:09:44 -08:00
parent bc734e1f1f
commit 8f60d8124f
2 changed files with 40 additions and 11 deletions

View File

@@ -932,6 +932,7 @@ OEMCryptoResult OEMCrypto_CloseSession(OEMCrypto_SESSION session);
* @retval OEMCrypto_SUCCESS success
* @retval OEMCrypto_ERROR_NOT_IMPLEMENTED
* @retval OEMCrypto_ERROR_INVALID_SESSION
* @retval OEMCrypto_ERROR_TOO_MANY_SESSIONS
*
* @version
* This method is new in API version 17.