Index: chrome/browser/chromeos/policy/device_local_account_policy_store.cc |
diff --git a/chrome/browser/chromeos/policy/device_local_account_policy_store.cc b/chrome/browser/chromeos/policy/device_local_account_policy_store.cc |
index 327b11e3d70b09743a97949c2ab7f6e812e6448a..fa13d739c34a77b646d7af4d894209b332298d74 100644 |
--- a/chrome/browser/chromeos/policy/device_local_account_policy_store.cc |
+++ b/chrome/browser/chromeos/policy/device_local_account_policy_store.cc |
@@ -190,7 +190,10 @@ void DeviceLocalAccountPolicyStore::Validate( |
: CloudPolicyValidatorBase::TIMESTAMP_NOT_REQUIRED, |
CloudPolicyValidatorBase::DM_TOKEN_REQUIRED); |
validator->ValidatePayload(); |
- validator->ValidateSignature(*key->public_key(), false); |
+ validator->ValidateSignature(key->public_key_as_string(), |
+ GetPolicyVerificationKey(), |
+ std::string(), |
+ false); |
validator.release()->StartValidation(callback); |
} |