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

Unified Diff: delta_performer_unittest.cc

Issue 6271003: AU: Support signed payload verification through the delta generator. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: Created 9 years, 11 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 | « no previous file | generate_delta_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: delta_performer_unittest.cc
diff --git a/delta_performer_unittest.cc b/delta_performer_unittest.cc
index 0d71a6edf5a26732eaa768a81de09defbeb7051b..bd13512c16f7ef8b2426c94b0a599c5d6a55df31 100755
--- a/delta_performer_unittest.cc
+++ b/delta_performer_unittest.cc
@@ -238,6 +238,8 @@ void DoSmallImageTest(bool full_kernel, bool full_rootfs, bool noop,
ASSERT_TRUE(PayloadSigner::AddSignatureToPayload(delta_path,
signature,
delta_path));
+ EXPECT_TRUE(PayloadSigner::VerifySignedPayload(delta_path,
+ kUnittestPublicKeyPath));
}
// Read delta into memory.
« no previous file with comments | « no previous file | generate_delta_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698