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

Unified Diff: file_hasher.cc

Issue 5006002: verity: no longer need to set verify_mode (Closed) Base URL: http://git.chromium.org/git/dm-verity.git@master
Patch Set: Created 10 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: file_hasher.cc
diff --git a/file_hasher.cc b/file_hasher.cc
index ab874d932f9832ef0dd0154761483227bd428ed1..fd6bda27c1e9d569ccf2bcab570708365e0c8e31 100644
--- a/file_hasher.cc
+++ b/file_hasher.cc
@@ -84,9 +84,6 @@ bool FileHasher::Initialize(simple_file::File *source,
dm_bht_set_write_cb(&tree_, FileHasher::WriteCallback);
// No reading is needed.
dm_bht_set_read_cb(&tree_, dm_bht_zeroread_callback);
- // Ensure that we don't use the bitmaps otherwise the
- // hashes will be wrong in intermediate nodes.
- dm_bht_set_verify_mode(&tree_, DM_BHT_FULL_REVERIFY);
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698