⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wintrust_ros.diff

📁 winNT技术操作系统,国外开放的原代码和LIUX一样
💻 DIFF
字号:
Index: wintrust_main.c
===================================================================
--- wintrust_main.c	(revision 23867)
+++ wintrust_main.c	(working copy)
@@ -152,7 +152,26 @@
  */ 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.+     *+     */++    if (IsEqualCLSID(ActionID, &gen_verify_v2))+        return TRUST_E_PROVIDER_UNKNOWN;+     return ERROR_SUCCESS; } 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -