Merge "Fix QueryKeyControl Unit Test" into mnc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b879cc6c3a
@@ -2291,7 +2291,7 @@ TEST_F(OEMCryptoSessionTests, QueryKeyControl) {
|
||||
size_t size = sizeof(block) - 1;
|
||||
OEMCryptoResult sts = OEMCrypto_QueryKeyControl(
|
||||
s.session_id(), s.license().keys[0].key_id,
|
||||
sizeof(s.license().keys[0].key_id), reinterpret_cast<uint8_t*>(&block),
|
||||
s.license().keys[0].key_id_length, reinterpret_cast<uint8_t*>(&block),
|
||||
&size);
|
||||
if (sts == OEMCrypto_ERROR_NOT_IMPLEMENTED) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user