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

Unified Diff: src/platform/vboot_reference/tests/big_firmware_tests.c

Issue 1578035: Change VerifyFirmware() to take separate pointers to firmware verification header and firmware data. (Closed)
Patch Set: review fixes Created 10 years, 8 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: src/platform/vboot_reference/tests/big_firmware_tests.c
diff --git a/src/platform/vboot_reference/tests/big_firmware_tests.c b/src/platform/vboot_reference/tests/big_firmware_tests.c
index eb4511495fbf865b35f479a560ad6977c005cc18..1f83cd2ab4159aa4e40fbfcd7597bbff330d12da 100644
--- a/src/platform/vboot_reference/tests/big_firmware_tests.c
+++ b/src/platform/vboot_reference/tests/big_firmware_tests.c
@@ -52,7 +52,7 @@ int BigFirmwareTest(void) {
VERIFY_FIRMWARE_SUCCESS,
"Big FirmwareImage Verification");
firmware_blob = GetFirmwareBlob(image, &len);
- TEST_EQ(VerifyFirmware(root_key_blob, firmware_blob),
+ TEST_EQ(VerifyFirmware(root_key_blob, image->firmware_data, firmware_blob),
VERIFY_FIRMWARE_SUCCESS,
"Big Firmware Blob Verification");
« no previous file with comments | « src/platform/vboot_reference/misclibs/file_keys.c ('k') | src/platform/vboot_reference/tests/firmware_image_tests.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698