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
b0dfe404
Commit
b0dfe404
authored
Jul 07, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Jul 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Implement revocation check in CertVerifySubjectCertificateContext.
parent
1ba6f151
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
cert.c
dlls/crypt32/cert.c
+7
-3
No files found.
dlls/crypt32/cert.c
View file @
b0dfe404
...
...
@@ -731,12 +731,16 @@ BOOL WINAPI CertVerifySubjectCertificateContext(PCCERT_CONTEXT pSubject,
}
if
(
*
pdwFlags
&
CERT_STORE_REVOCATION_FLAG
)
{
PCCRL_CONTEXT
crl
=
CertFindCRLInStore
(
pSubject
->
hCertStore
,
pSubject
->
dwCertEncodingType
,
0
,
CRL_FIND_ISSUED_BY
,
pSubject
,
NULL
);
DWORD
flags
=
0
;
PCCRL_CONTEXT
crl
=
CertGetCRLFromStore
(
pSubject
->
hCertStore
,
pSubject
,
NULL
,
&
flags
);
/* FIXME: what if the CRL has expired? */
if
(
crl
)
{
FIXME
(
"check CRL for subject
\n
"
);
if
(
CertVerifyCRLRevocation
(
pSubject
->
dwCertEncodingType
,
pSubject
->
pCertInfo
,
1
,
(
PCRL_INFO
*
)
&
crl
->
pCrlInfo
))
*
pdwFlags
&=
CERT_STORE_REVOCATION_FLAG
;
}
else
*
pdwFlags
|=
CERT_STORE_NO_CRL_FLAG
;
...
...
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