| Index: components/policy/core/common/cloud/policy_builder.cc
|
| diff --git a/components/policy/core/common/cloud/policy_builder.cc b/components/policy/core/common/cloud/policy_builder.cc
|
| index d6ea5ed76d76942b763c9fce957c20175698a736..e0d3a1a13fda43aa07e217c9617f963a9681b8f3 100644
|
| --- a/components/policy/core/common/cloud/policy_builder.cc
|
| +++ b/components/policy/core/common/cloud/policy_builder.cc
|
| @@ -295,7 +295,8 @@ void PolicyBuilder::SignData(const std::string& data,
|
| crypto::RSAPrivateKey* key,
|
| std::string* signature) {
|
| scoped_ptr<crypto::SignatureCreator> signature_creator(
|
| - crypto::SignatureCreator::Create(key));
|
| + crypto::SignatureCreator::Create(key,
|
| + crypto::SignatureCreator::SHA1));
|
| signature_creator->Update(reinterpret_cast<const uint8*>(data.c_str()),
|
| data.size());
|
| std::vector<uint8> signature_bytes;
|
|
|