mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-09 10:47:41 +01:00
Sysupgrade: Add signature certificate size check as warning.
For ipq807x, signature certificate size is dynamic and it is not fixed. Hence we will treat signature certificate size check as warning. Change-Id: I6528212aaf9297217b19cb34311fc96500a7f38f Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
This commit is contained in:
parent
1fbb054c7e
commit
5432bb2a0b
1 changed files with 1 additions and 3 deletions
|
|
@ -923,9 +923,7 @@ int split_code_signature_cert_from_component_bin(struct image_section *section,
|
|||
}
|
||||
sig_cert_size = mbn_hdr->image_size - mbn_hdr->code_size;
|
||||
if (sig_cert_size != SIG_CERT_2_SIZE && sig_cert_size != SIG_CERT_3_SIZE) {
|
||||
printf("Error: Image without version information\n");
|
||||
close(fd);
|
||||
return 0;
|
||||
printf("WARNING: signature certificate size is different\n");
|
||||
}
|
||||
src_size = mbn_hdr->sig_ptr - mbn_hdr->image_dest_ptr + MBN_HDR_SIZE;
|
||||
*src = malloc(src_size + 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue