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

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

Issue 1280002: Move test utility functions to a common place. (Closed)
Patch Set: . Created 10 years, 9 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/verify_firmware_fuzz_driver.c
diff --git a/src/platform/vboot_reference/tests/verify_firmware_fuzz_driver.c b/src/platform/vboot_reference/tests/verify_firmware_fuzz_driver.c
index 224fdb585f64cd9306a6076cc100e3ee7db573f3..8ab33ad685c0f9cd8cd1221880a54600241fc64d 100644
--- a/src/platform/vboot_reference/tests/verify_firmware_fuzz_driver.c
+++ b/src/platform/vboot_reference/tests/verify_firmware_fuzz_driver.c
@@ -28,8 +28,7 @@ int VerifySignedFirmware(const char* image_file,
error_code = 1;
}
- if (!error_code && (error = VerifyFirmware(root_key_blob, firmware_blob,
- 0))) { /* Trusted Mode. */
+ if (!error_code && (error = VerifyFirmware(root_key_blob, firmware_blob))) {
fprintf(stderr, "%s\n", VerifyFirmwareErrorString(error));
error_code = 1;
}
« no previous file with comments | « src/platform/vboot_reference/tests/test_common.c ('k') | src/platform/vboot_reference/utils/firmware_image.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698