mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-11 19:28:04 -05:00
Remove reference to exsig in msi_verify_pkcs7 to fix the -DGSF_CAN_READ_METADATA build.
This was broken due to the refactoring that happened during the introduction of nested signature support.
This commit is contained in:
parent
180a775702
commit
6b9774f6bc
@ -1527,7 +1527,7 @@ static int msi_verify_pkcs7(PKCS7 *p7, GsfInfile *infile, unsigned char *exdata,
|
||||
}
|
||||
|
||||
#ifdef GSF_CAN_READ_MSI_METADATA
|
||||
if (exsig && exdata) {
|
||||
if (exdata) {
|
||||
tohex(cexmdbuf, hexbuf, EVP_MD_size(md));
|
||||
int exok = !memcmp(exdata, cexmdbuf, MIN(EVP_MD_size(md), exlen));
|
||||
if (!exok) ret = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user