avast / authenticode-parser

Authenticode-parser is a simple C library for Authenticode format parsing using OpenSSL.
MIT License
16 stars 8 forks source link

Append MS countersignature certificates to the Authenticode signature certs #21

Closed HoundThe closed 7 months ago

HoundThe commented 7 months ago

Code was missing copying over MS signatures certificates when it is using a CMS format, this is fixed in the PR.

I've realized why it wasn't written in this way before, I didn't want to write all the deep copy functions, however now that we have CMS aswell I can't avoid it anymore.

Also closes https://github.com/avast/authenticode-parser/issues/19

Also found and fixed memory leak when parsing counter signature