98d3ce77b4
The old code forced region size to be aligned to the PECOFF file alignment parameter, which is correct according to the spec. However, the major UEFI platforms do not align up when checking the signature, so if the PECOFF binary being signed already contains a signature, realigning the sections will make the existing signature invalid. Fix this by relaxing the rule about aligning up (also eliminates complaints about some pecoff sections being misaligned). Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com> |
||
---|---|---|
.. | ||
coff | ||
efivars.h | ||
fileio.c | ||
fileio.h | ||
idc.c | ||
idc.h | ||
image.c | ||
image.h | ||
libcoff.h | ||
Makefile.am | ||
sbattach.c | ||
sbkeysync.c | ||
sbsiglist.c | ||
sbsign.c | ||
sbvarsign.c | ||
sbverify.c | ||
verify.c |