diff options
Diffstat (limited to 'components/ownership/owner_settings_service.cc')
-rw-r--r-- | components/ownership/owner_settings_service.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/ownership/owner_settings_service.cc b/components/ownership/owner_settings_service.cc index 09c88d3..56bcbe0 100644 --- a/components/ownership/owner_settings_service.cc +++ b/components/ownership/owner_settings_service.cc @@ -32,7 +32,8 @@ std::string AssembleAndSignPolicy(scoped_ptr<em::PolicyData> policy, // Generate the signature. scoped_ptr<crypto::SignatureCreator> signature_creator( - crypto::SignatureCreator::Create(private_key)); + crypto::SignatureCreator::Create(private_key, + crypto::SignatureCreator::SHA1)); signature_creator->Update( reinterpret_cast<const uint8*>(policy_response.policy_data().c_str()), policy_response.policy_data().size()); |