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

Unified Diff: components/policy/core/common/cloud/cloud_policy_constants.cc

Issue 189913016: Turn on policy key verification by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: components/policy/core/common/cloud/cloud_policy_constants.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_constants.cc b/components/policy/core/common/cloud/cloud_policy_constants.cc
index 4d2920ecf92a89e4555988b2d0bc93e11c480f15..92be6e10abad80b336f10f49586611138e2f6c53 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.cc
+++ b/components/policy/core/common/cloud/cloud_policy_constants.cc
@@ -91,7 +91,7 @@ std::string GetPolicyVerificationKey() {
// Disable key verification by default until production servers generate
// the proper signatures.
CommandLine* command_line = CommandLine::ForCurrentProcess();
- if (!command_line->HasSwitch(switches::kEnablePolicyKeyVerification)) {
+ if (command_line->HasSwitch(switches::kDisablePolicyKeyVerification)) {
return std::string();
} else {
return std::string(reinterpret_cast<const char*>(kPolicyVerificationKey),

Powered by Google App Engine
This is Rietveld 408576698