James Hawkins : wintrust: Always return ERROR_SUCCESS in
WinVerifyTrust.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 8 07:37:29 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: f5e0195be642117e0380db1bbdf8d1a55cb4e383
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f5e0195be642117e0380db1bbdf8d1a55cb4e383
Author: James Hawkins <truiken at gmail.com>
Date: Mon Aug 7 11:11:10 2006 -0700
wintrust: Always return ERROR_SUCCESS in WinVerifyTrust.
---
dlls/wintrust/wintrust_main.c | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c
index 6c56fcb..3ecbf90 100644
--- a/dlls/wintrust/wintrust_main.c
+++ b/dlls/wintrust/wintrust_main.c
@@ -100,26 +100,14 @@ BOOL WINAPI TrustIsCertificateSelfSigned
*/
LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, WINTRUST_DATA* ActionData )
{
- static const GUID gen_verify_v2 = WINTRUST_ACTION_GENERIC_VERIFY_V2;
-
FIXME("%p %s %p\n", hwnd, debugstr_guid(ActionID), ActionData);
/* Trust providers can be found at:
* HKLM\SOFTWARE\Microsoft\Cryptography\Providers\Trust\CertCheck\
*
- * Process Explorer expects a correct implementation, so we
- * return TRUST_E_PROVIDER_UNKNOWN.
- *
- * Girotel needs ERROR_SUCCESS.
- *
- * For now return TRUST_E_PROVIDER_UNKNOWN only when
- * ActionID = WINTRUST_ACTION_GENERIC_VERIFY_V2.
- *
+ * Process Explorer is now happy with ERROR_SUCCESS
*/
- if (IsEqualCLSID(ActionID, &gen_verify_v2))
- return TRUST_E_PROVIDER_UNKNOWN;
-
return ERROR_SUCCESS;
}
More information about the wine-cvs
mailing list