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

Unified Diff: utility/vbutil_firmware.c

Issue 3126013: Fix KeyBlockVerify() to take an explicit param for whether to use hash only. (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Fix one last typo Created 10 years, 4 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
Index: utility/vbutil_firmware.c
diff --git a/utility/vbutil_firmware.c b/utility/vbutil_firmware.c
index 3992a3a8b6d9d61c43819070b169d47d3eab1f41..d58e2a3a96aa988e1585eeff3e8471e99f58af16 100644
--- a/utility/vbutil_firmware.c
+++ b/utility/vbutil_firmware.c
@@ -200,7 +200,7 @@ static int Verify(const char* infile, const char* signpubkey,
/* Verify key block */
key_block = (VbKeyBlockHeader*)blob;
- if (0 != KeyBlockVerify(key_block, blob_size, sign_key)) {
+ if (0 != KeyBlockVerify(key_block, blob_size, sign_key, 0)) {
error("Error verifying key block.\n");
return 1;
}

Powered by Google App Engine
This is Rietveld 408576698