mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-05-20 18:34:29 -05:00
Disable the addition of MsiDigitalSignatureEx when signing MSI files. It does not work well with nested signatures.
This commit is contained in:
parent
fe7dd0076e
commit
0b0be2f97b
@ -2667,7 +2667,10 @@ int main(int argc, char **argv)
|
|||||||
* section, and its content must be the output of the pre-hash
|
* section, and its content must be the output of the pre-hash
|
||||||
* ("metadata") hash.
|
* ("metadata") hash.
|
||||||
*/
|
*/
|
||||||
{
|
/*
|
||||||
|
* Disabled for now. Does not work well with nested sigantures.
|
||||||
|
*/
|
||||||
|
if (0) {
|
||||||
BIO *prehash = BIO_new(BIO_f_md());
|
BIO *prehash = BIO_new(BIO_f_md());
|
||||||
BIO_set_md(prehash, md);
|
BIO_set_md(prehash, md);
|
||||||
BIO_push(prehash, BIO_new(BIO_s_null()));
|
BIO_push(prehash, BIO_new(BIO_s_null()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user