Snap for 8340624 from 1fac6fa5de to tm-release
Change-Id: I87375529cf46c39035118c99618ecef78bcc0982
This commit is contained in:
@@ -1539,7 +1539,9 @@ CdmResponseType CryptoSession::LoadOemCertificatePrivateKey(
|
||||
// Private.
|
||||
CdmResponseType CryptoSession::SelectKey(const std::string& key_id,
|
||||
CdmCipherMode cipher_mode) {
|
||||
RETURN_IF_NOT_OPEN(CRYPTO_SESSION_NOT_OPEN);
|
||||
const OEMCryptoResult sts = WithOecSessionLock("SelectKey", [&] {
|
||||
RETURN_IF_NULL(key_session_, OEMCrypto_ERROR_INVALID_SESSION);
|
||||
return key_session_->SelectKey(key_id, cipher_mode);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user