Address CDM compilation warnings for android

[ Merge of http://go/wvgerrit/169230 ]

Bug: 275675184
Test: Compile and GtsMediaTestCases
Change-Id: I3dc01f383a1fae07c126782e8d3561ab724316a8
This commit is contained in:
Rahul Frias
2023-03-29 02:29:40 -07:00
parent 68e1eac8ec
commit adf03c92f4
6 changed files with 29 additions and 18 deletions

View File

@@ -83,15 +83,16 @@ ScopedAStatus WidevineRemotelyProvisionedComponent::getHardwareInfo(
}
ScopedAStatus WidevineRemotelyProvisionedComponent::generateEcdsaP256KeyPair(
bool testMode, MacedPublicKey* macedPublicKey, bytevec* privateKeyHandle) {
bool /* testMode */, MacedPublicKey* /* macedPublicKey */,
bytevec* /* privateKeyHandle */) {
return Status("Invalid operation.");
}
ScopedAStatus WidevineRemotelyProvisionedComponent::generateCertificateRequest(
bool testMode, const vector<MacedPublicKey>& keysToSign,
const bytevec& endpointEncCertChain, const bytevec& challenge,
const bytevec& endpointEncCertChain, const bytevec& /* challenge */,
DeviceInfo* deviceInfo, ProtectedData* protectedData,
bytevec* keysToSignMac) {
bytevec* /* keysToSignMac */) {
if (!keysToSign.empty()) {
return Status("Invalid operation: Keys to sign must be empty.");
}