[wintrust_main.c] Return ERROR_SUCCESS as default

Paul Vriens Paul.Vriens at xs4all.nl
Fri Sep 9 14:07:19 CDT 2005


Hi,

Process Explorer expects a proper implementation of WinVerifyTrust and
therefore we should return TRUST_E_PROVIDER_UNKNOWN to make Process
Explorer happy.

Girotel is only happy with ERROR_SUCCESS (or a proper implementation).

>From the traces I can see that PE only uses WinVerifyTrust with
WINTRUST_ACTION_GENERIC_VERIFY_V2 as the ActionID, so we can use that to
decide what to return.

Rein Klazes confirmed that this fixed Girotel and PE is still happy.

Changelog
  Return ERROR_SUCCESS as default and TRUST_E_PROVIDER_UNKNOWN
  if asked for WINTRUST_ACTION_GENERIC_VERIFY_V2.

Cheers,

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wintrust_main_4.c.diff
Type: text/x-patch
Size: 1532 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050909/f5c1278b/wintrust_main_4.c.diff


More information about the wine-patches mailing list