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

Unified Diff: vboot_firmware/stub/load_firmware_stub.c

Issue 2829004: More code cleanup (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: rebase Created 10 years, 6 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 | « vboot_firmware/lib/include/vboot_struct.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vboot_firmware/stub/load_firmware_stub.c
diff --git a/vboot_firmware/stub/load_firmware_stub.c b/vboot_firmware/stub/load_firmware_stub.c
index 5bca57dac2fe661fd1738a6b5b131b66e49165af..1570f70b806f42a1691544c001ea2a1957fbbd21 100644
--- a/vboot_firmware/stub/load_firmware_stub.c
+++ b/vboot_firmware/stub/load_firmware_stub.c
@@ -83,8 +83,8 @@ int VerifyFirmwareDriver_stub(uint8_t* root_key_blob,
p.verification_block_1 = verification_headerB;
/* Allocate a key blob buffer */
- p.kernel_sign_key_blob = Malloc(LOAD_FIRMWARE_KEY_BLOB_MAX);
- p.kernel_sign_key_size = LOAD_FIRMWARE_KEY_BLOB_MAX;
+ p.kernel_sign_key_blob = Malloc(LOAD_FIRMWARE_KEY_BLOB_REC_SIZE);
+ p.kernel_sign_key_size = LOAD_FIRMWARE_KEY_BLOB_REC_SIZE;
/* Call LoadFirmware() */
rv = LoadFirmware(&p);
« no previous file with comments | « vboot_firmware/lib/include/vboot_struct.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698