mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 00:21:46 +00:00
Fix KeyBlockVerify() to take an explicit param for whether to use hash only.
Fix VerifyMemberInside(). BUG=chrome-os-partner:703 TEST=make && make runtests Review URL: http://codereview.chromium.org/3126013
This commit is contained in:
@@ -91,7 +91,7 @@ int LoadFirmware(LoadFirmwareParams* params) {
|
||||
key_block = (VbKeyBlockHeader*)params->verification_block_1;
|
||||
vblock_size = params->verification_size_1;
|
||||
}
|
||||
if ((0 != KeyBlockVerify(key_block, vblock_size, root_key))) {
|
||||
if ((0 != KeyBlockVerify(key_block, vblock_size, root_key, 0))) {
|
||||
VBDEBUG(("Key block verification failed.\n"));
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user