Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
f1ec80d1
Commit
f1ec80d1
authored
Aug 14, 2007
by
Juan Lang
Committed by
Alexandre Julliard
Aug 15, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Implement WTHelperGetProvCertFromChain.
parent
0823c4fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
wintrust.spec
dlls/wintrust/wintrust.spec
+1
-1
wintrust_main.c
dlls/wintrust/wintrust_main.c
+17
-0
No files found.
dlls/wintrust/wintrust.spec
View file @
f1ec80d1
...
...
@@ -80,7 +80,7 @@
@ stub WTHelperGetFileHandle
@ stub WTHelperGetFileName
@ stub WTHelperGetKnownUsages
@ st
ub WTHelperGetProvCertFromChain
@ st
dcall WTHelperGetProvCertFromChain(ptr long)
@ stub WTHelperGetProvPrivateDataFromChain
@ stdcall WTHelperGetProvSignerFromChain(ptr long long long)
@ stub WTHelperIsInRootStore
...
...
dlls/wintrust/wintrust_main.c
View file @
f1ec80d1
...
...
@@ -125,6 +125,23 @@ CRYPT_PROVIDER_SGNR * WINAPI WTHelperGetProvSignerFromChain(
}
/***********************************************************************
* WTHelperGetProvCertFromChain (WINTRUST.@)
*/
CRYPT_PROVIDER_CERT
*
WINAPI
WTHelperGetProvCertFromChain
(
CRYPT_PROVIDER_SGNR
*
pSgnr
,
DWORD
idxCert
)
{
CRYPT_PROVIDER_CERT
*
cert
;
TRACE
(
"(%p %d)
\n
"
,
pSgnr
,
idxCert
);
if
(
idxCert
>=
pSgnr
->
csCertChain
||
!
pSgnr
->
pasCertChain
)
return
NULL
;
cert
=
&
pSgnr
->
pasCertChain
[
idxCert
];
TRACE
(
"returning %p
\n
"
,
cert
);
return
cert
;
}
/***********************************************************************
* WTHelperProvDataFromStateData (WINTRUST.@)
*/
CRYPT_PROVIDER_DATA
*
WINAPI
WTHelperProvDataFromStateData
(
HANDLE
hStateData
)
...
...
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