Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3effba78
Commit
3effba78
authored
Apr 16, 2011
by
Juan Lang
Committed by
Alexandre Julliard
Apr 18, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Implement IsCatalogFile.
parent
043bdc16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
wintrust.spec
dlls/wintrust/wintrust.spec
+1
-1
wintrust_main.c
dlls/wintrust/wintrust_main.c
+15
-0
No files found.
dlls/wintrust/wintrust.spec
View file @
3effba78
...
...
@@ -50,7 +50,7 @@
@ stdcall GenericChainFinalProv(ptr)
@ stdcall HTTPSCertificateTrust(ptr)
@ stdcall HTTPSFinalProv(ptr)
@ st
ub IsCatalogFile
@ st
dcall IsCatalogFile(ptr wstr)
@ stub MsCatConstructHashTag
@ stub MsCatFreeHashTag
@ stub OfficeCleanupPolicy
...
...
dlls/wintrust/wintrust_main.c
View file @
3effba78
...
...
@@ -1201,3 +1201,18 @@ HRESULT WINAPI WTHelperCertCheckValidSignature(CRYPT_PROVIDER_DATA *pProvData)
FIXME
(
"Stub
\n
"
);
return
S_OK
;
}
/***********************************************************************
* IsCatalogFile
*/
BOOL
WINAPI
IsCatalogFile
(
HANDLE
hFile
,
WCHAR
*
pwszFileName
)
{
static
const
GUID
catGUID
=
{
0xDE351A43
,
0x8E59
,
0x11D0
,
{
0x8C
,
0x47
,
0x00
,
0xC0
,
0x4F
,
0xC2
,
0x95
,
0xEE
}};
GUID
guid
;
TRACE
(
"(%p, %s)
\n
"
,
hFile
,
debugstr_w
(
pwszFileName
));
if
(
!
CryptSIPRetrieveSubjectGuid
(
pwszFileName
,
hFile
,
&
guid
))
return
FALSE
;
return
IsEqualGUID
(
&
guid
,
&
catGUID
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment