5466f381dd
When detaching a signature, we need to know the size of the non-signature data. So, add a data_size member to struct image, and populate it when we iterate through the section table. When writing the image, use data_size rather than size, so we don't unnecessarily add the (now unused) signature data. Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> |
||
---|---|---|
.. | ||
cert-table-header.sh | ||
detach-remove.sh | ||
Makefile.am | ||
reattach-warning.sh | ||
resign-warning.sh | ||
sign-attach-verify.sh | ||
sign-detach-verify.sh | ||
sign-invalidattach-verify.sh | ||
sign-missing-cert.sh | ||
sign-missing-image.sh | ||
sign-missing-key.sh | ||
sign-verify-detached.sh | ||
sign-verify.sh | ||
test-i386.lds | ||
test-wrapper.sh | ||
test-x86_64.lds | ||
test.S | ||
verify-missing-cert.sh | ||
verify-missing-image.sh |