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

Unified Diff: omaha_request_action.cc

Issue 3419018: AU: Switch from SHA-1 to SHA-256 hash. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: update unit test Created 10 years, 3 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 | « omaha_hash_calculator_unittest.cc ('k') | omaha_request_action_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: omaha_request_action.cc
diff --git a/omaha_request_action.cc b/omaha_request_action.cc
index c931065713bc13906506f9340c91b918bf384191..cb9cd63c079a9d3267280e4335e335cd4c985e4c 100644
--- a/omaha_request_action.cc
+++ b/omaha_request_action.cc
@@ -405,7 +405,7 @@ void OmahaRequestAction::TransferComplete(HttpFetcher *fetcher,
XmlGetProperty(updatecheck_node, "DisplayVersion");
output_object.codebase = XmlGetProperty(updatecheck_node, "codebase");
output_object.more_info_url = XmlGetProperty(updatecheck_node, "MoreInfo");
- output_object.hash = XmlGetProperty(updatecheck_node, "hash");
+ output_object.hash = XmlGetProperty(updatecheck_node, "sha256");
output_object.size = ParseInt(XmlGetProperty(updatecheck_node, "size"));
output_object.needs_admin =
XmlGetProperty(updatecheck_node, "needsadmin") == "true";
« no previous file with comments | « omaha_hash_calculator_unittest.cc ('k') | omaha_request_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698