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); |