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
7fc56136
Commit
7fc56136
authored
Aug 01, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Aug 02, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Implement TrustIsCertificateSelfSigned.
parent
5af2b06d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
Makefile.in
dlls/wintrust/Makefile.in
+1
-1
wintrust.spec
dlls/wintrust/wintrust.spec
+1
-1
wintrust_main.c
dlls/wintrust/wintrust_main.c
+13
-0
No files found.
dlls/wintrust/Makefile.in
View file @
7fc56136
...
...
@@ -4,7 +4,7 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
wintrust.dll
IMPORTLIB
=
libwintrust.
$(IMPLIBEXT)
IMPORTS
=
kernel32
IMPORTS
=
crypt32
kernel32
C_SRCS
=
wintrust_main.c
...
...
dlls/wintrust/wintrust.spec
View file @
7fc56136
...
...
@@ -71,7 +71,7 @@
@ stub TrustDecode
@ stub TrustFindIssuerCertificate
@ stub TrustFreeDecode
@ st
ub TrustIsCertificateSelfSigned
@ st
dcall TrustIsCertificateSelfSigned(ptr)
@ stub TrustOpenStores
@ stub WTHelperCertFindIssuerCertificate
@ stub WTHelperCertIsSelfSigned
...
...
dlls/wintrust/wintrust_main.c
View file @
7fc56136
...
...
@@ -83,6 +83,19 @@ BOOL WINAPI CryptCATAdminReleaseContext(HCATADMIN hCatAdmin, DWORD dwFlags )
}
/***********************************************************************
* TrustIsCertificateSelfSigned (WINTRUST.@)
*/
BOOL
WINAPI
TrustIsCertificateSelfSigned
(
PCCERT_CONTEXT
cert
)
{
BOOL
ret
;
TRACE
(
"%p
\n
"
,
cert
);
ret
=
CertCompareCertificateName
(
cert
->
dwCertEncodingType
,
&
cert
->
pCertInfo
->
Subject
,
&
cert
->
pCertInfo
->
Issuer
);
return
ret
;
}
/***********************************************************************
* WinVerifyTrust (WINTRUST.@)
*/
LONG
WINAPI
WinVerifyTrust
(
HWND
hwnd
,
GUID
*
ActionID
,
WINTRUST_DATA
*
ActionData
)
...
...
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