mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-05 01:00:11 -05:00
Fix construction of signed CAB header
Commit 0f51a06 ("Separate common and format-dependent functions") performed a substantial amount of refactoring. Within the CFFOLDER header construction loop in cab_add_header(), the line tmp = GET_UINT32_LE(indata + i); seems to have been accidentally deleted, instead of being refactored to become tmp = GET_UINT32_LE(ctx->options->indata + i); with the result that adding a signature to a .cab file will currently produce an invalid .cab file. Fix by adding back in the missing line of code. Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
This commit is contained in:
parent
1fc2c937f2
commit
5b8376ce32
Loading…
x
Reference in New Issue
Block a user