Sysinternals Homepage
Forum Home Forum Home > Windows Discussions > Development
  New Posts New Posts RSS Feed - Discuss: HOWTO: Verify digital signature of a file
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Discuss: HOWTO: Verify digital signature of a file

 Post Reply Post Reply Page  <123
Author
Message
Validator Al View Drop Down
Newbie
Newbie


Joined: 11 January 2006
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Validator Al Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2016 at 11:09pm
Originally posted by AndrewDover AndrewDover wrote:

For later OS versions, I had to make two modifications:
 

swprintf(&MemberTag[i * 2], 2, L"%02X", Buffer);

// Added count of 2

WintrustStructure.pSignatureSettings = NULL; // Added for recent OS supported

Thanks. I was experiencing some crashes in Windows 10 in WINTRUST.DLL.

Initializing WintrustStructure seems to have fixed it:

memset(&WintrustStructure, 0, sizeof(WINTRUST_DATA));

WintrustStructure.cbStruct=sizeof(WINTRUST_DATA); 



Edited by Validator Al - 05 December 2016 at 11:10pm
Back to Top
 Post Reply Post Reply Page  <123
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.06
Copyright ©2001-2016 Web Wiz Ltd.