mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-04 20:12:48 -05:00
Disable the addition of MsiDigitalSignatureEx when signing MSI files. It does not work well with nested signatures.
This commit is contained in:
@ -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()));
|
||||||
|
Reference in New Issue
Block a user