mirror of
https://github.com/reactos/wine.git
synced 2025-02-17 19:39:00 +00:00
wintrust: Add generic chain action to known actions.
This commit is contained in:
parent
e69cf802e7
commit
0cd5f2089e
@ -332,6 +332,7 @@ LONG WINAPI WinVerifyTrust( HWND hwnd, GUID *ActionID, LPVOID ActionData )
|
||||
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;
|
||||
static const GUID generic_chain_verify = WINTRUST_ACTION_GENERIC_CHAIN_VERIFY;
|
||||
LONG err = ERROR_SUCCESS;
|
||||
WINTRUST_DATA *actionData = (WINTRUST_DATA *)ActionData;
|
||||
|
||||
@ -346,7 +347,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_cert_verify))
|
||||
!IsEqualGUID(ActionID, &generic_cert_verify) &&
|
||||
!IsEqualGUID(ActionID, &generic_chain_verify))
|
||||
WARN("unknown action %s, default behavior may not be right\n",
|
||||
debugstr_guid(ActionID));
|
||||
switch (actionData->dwStateAction)
|
||||
|
Loading…
x
Reference in New Issue
Block a user