Juan Lang : wintrust: Don't warn for generic cert verify action.

Alexandre Julliard julliard at winehq.org
Mon Oct 1 07:54:58 CDT 2007


Module: wine
Branch: master
Commit: 07979b9975b77b349b2212bfa1185f342282ff86
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=07979b9975b77b349b2212bfa1185f342282ff86

Author: Juan Lang <juan.lang at gmail.com>
Date:   Fri Sep 28 13:05:18 2007 -0700

wintrust: Don't warn for generic cert verify action.

---

 dlls/wintrust/wintrust_main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/wintrust/wintrust_main.c b/dlls/wintrust/wintrust_main.c
index 44d2dc8..aa51a98 100644
--- a/dlls/wintrust/wintrust_main.c
+++ b/dlls/wintrust/wintrust_main.c
@@ -222,6 +222,7 @@ LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, LPVOID ActionData )
      0x00,0xC0,0x4F,0xC2,0x95,0xEE } };
     static const GUID published_software = WIN_SPUB_ACTION_PUBLISHED_SOFTWARE;
     static const GUID generic_verify_v2 = WINTRUST_ACTION_GENERIC_VERIFY_V2;
+    static const GUID generic_cert_verify = WINTRUST_ACTION_GENERIC_CERT_VERIFY;
     LONG err = ERROR_SUCCESS;
     WINTRUST_DATA *actionData = (WINTRUST_DATA *)ActionData;
 
@@ -234,7 +235,8 @@ LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, LPVOID ActionData )
     {
         /* Check known actions to warn of possible problems */
         if (!IsEqualGUID(ActionID, &unknown) &&
-         !IsEqualGUID(ActionID, &generic_verify_v2))
+         !IsEqualGUID(ActionID, &generic_verify_v2) &&
+         !IsEqualGUID(ActionID, &generic_cert_verify))
             WARN("unknown action %s, default behavior may not be right\n",
              debugstr_guid(ActionID));
         switch (actionData->dwStateAction)




More information about the wine-cvs mailing list