Make public key verification check binding.
Until now, we've just warned on failure. This CL makes the update fail
if the check fails.
BUG=chromium-os:19872
TEST=unittests; tested on device
Change-Id: I485b2548849f46d2b802c478736671bb44a85aab
Reviewed-on: http://gerrit.chromium.org/gerrit/6998
Reviewed-by: Darin Petkov <petkov@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
diff --git a/omaha_request_action.cc b/omaha_request_action.cc
index 78af1c0..8080b64 100644
--- a/omaha_request_action.cc
+++ b/omaha_request_action.cc
@@ -182,8 +182,7 @@
http_fetcher_(http_fetcher),
ping_only_(ping_only),
ping_active_days_(0),
- ping_roll_call_days_(0),
- should_skip_(false) {}
+ ping_roll_call_days_(0) {}
OmahaRequestAction::~OmahaRequestAction() {}
@@ -220,10 +219,6 @@
}
void OmahaRequestAction::PerformAction() {
- if (should_skip_) {
- processor_->ActionComplete(this, kActionCodeSuccess);
- return;
- }
http_fetcher_->set_delegate(this);
InitPingDays();
if (ping_only_ &&