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

Unified Diff: download_action.cc

Issue 6778029: AU: detect failure when using public key verification (Closed) Base URL: http://git.chromium.org/git/update_engine.git@master
Patch Set: merge master 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
« no previous file with comments | « delta_performer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: download_action.cc
diff --git a/download_action.cc b/download_action.cc
index d6ae97dfefc5eec167fab74d725b7aba6ae85d33..9577047de5f49c55fc6d6540baf02edc50ba7a05 100644
--- a/download_action.cc
+++ b/download_action.cc
@@ -163,7 +163,8 @@ void DownloadAction::TransferComplete(HttpFetcher *fetcher, bool successful) {
if (!install_plan_.is_full_update) {
if (!delta_performer_->VerifyPayload("",
install_plan_.download_hash,
- install_plan_.size)) {
+ install_plan_.size,
+ NULL)) {
LOG(ERROR) << "Download of " << install_plan_.download_url
<< " failed due to payload verification error.";
code = kActionCodeDownloadPayloadVerificationError;
« no previous file with comments | « delta_performer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698