Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1892)

Unified Diff: chrome/browser/policy/cloud_policy_cache.cc

Issue 6727027: Update protobuf definitions for ChromeOS device policy support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/cloud_policy_cache.cc
diff --git a/chrome/browser/policy/cloud_policy_cache.cc b/chrome/browser/policy/cloud_policy_cache.cc
index 7b8a0fac843a3d5537ec4fd4539ae407fa715e62..417949bdda0574cba843913bd0a038caceaae3ab 100644
--- a/chrome/browser/policy/cloud_policy_cache.cc
+++ b/chrome/browser/policy/cloud_policy_cache.cc
@@ -311,11 +311,12 @@ bool CloudPolicyCache::DecodePolicyResponse(
base::Time* timestamp) {
std::string data = policy_response.policy_data();
- if (!VerifySignature(policy_response.policy_data_signature(), data,
- policy_response.certificate_chain())) {
- LOG(WARNING) << "Failed to verify signature.";
- return false;
- }
+ // Will do proper cleanup in my next CL. I promise. --jkummerow
Jakob Kummerow 2011/03/23 18:13:58 See http://codereview.chromium.org/6705031
gfeher 2011/03/24 12:16:56 Please replace this whole block with a TODO. I thi
Jakob Kummerow 2011/03/24 16:09:52 If you insist -- done.
+ //if (!VerifySignature(policy_response.policy_data_signature(), data,
+ // policy_response.certificate_chain())) {
+ // LOG(WARNING) << "Failed to verify signature.";
+ // return false;
+ //}
em::PolicyData policy_data;
if (!policy_data.ParseFromString(data)) {

Powered by Google App Engine
This is Rietveld 408576698