From c47712f5a3cef60d25b915703f2e9b94a9be4c77 Mon Sep 17 00:00:00 2001 From: Edwin Wong Date: Thu, 26 Mar 2015 11:24:51 -0700 Subject: [PATCH] Change protobuff field name to anti_rollback_usage_table. Change anti_rollback_hardware_present field name in ClientCapabilities message to indicate the field is for usage table rollback prevention. Merge from go/wvgerrit/13817. bug: 19869828 Change-Id: I982bfe484aa39a54d0c3a9ae60dd9e46351385d9 --- libwvdrmengine/cdm/core/src/license.cpp | 2 +- libwvdrmengine/cdm/core/src/license_protocol.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libwvdrmengine/cdm/core/src/license.cpp b/libwvdrmengine/cdm/core/src/license.cpp index 9dd75687..157e805a 100644 --- a/libwvdrmengine/cdm/core/src/license.cpp +++ b/libwvdrmengine/cdm/core/src/license.cpp @@ -274,7 +274,7 @@ bool CdmLicense::PrepareKeyRequest(const InitializationData& init_data, client_capabilities->set_session_token(supports_usage_information); } - client_capabilities->set_anti_rollback_hardware_present( + client_capabilities->set_anti_rollback_usage_table( session_->IsAntiRollbackHwPresent()); uint32_t api_version = 0; diff --git a/libwvdrmengine/cdm/core/src/license_protocol.proto b/libwvdrmengine/cdm/core/src/license_protocol.proto index 969d91a3..8fc334bb 100644 --- a/libwvdrmengine/cdm/core/src/license_protocol.proto +++ b/libwvdrmengine/cdm/core/src/license_protocol.proto @@ -410,7 +410,7 @@ message ClientIdentification { optional bool video_resolution_constraints = 3 [default = false]; optional HdcpVersion max_hdcp_version = 4 [default = HDCP_NONE]; optional uint32 oem_crypto_api_version = 5; - optional bool anti_rollback_hardware_present = 6 [default = false]; + optional bool anti_rollback_usage_table = 6 [default = false]; } // Type of factory-provisioned device root of trust. Optional.