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
8646c39b
Commit
8646c39b
authored
Nov 20, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Nov 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Finding a CRL issued by a cert should compare the cert's subject, not its issuer.
parent
6bc8237c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
crl.c
dlls/crypt32/crl.c
+1
-1
crl.c
dlls/crypt32/tests/crl.c
+0
-2
No files found.
dlls/crypt32/crl.c
View file @
8646c39b
...
...
@@ -115,7 +115,7 @@ static BOOL compare_crl_issued_by(PCCRL_CONTEXT pCrlContext, DWORD dwType,
PCCERT_CONTEXT
issuer
=
pvPara
;
ret
=
CertCompareCertificateName
(
issuer
->
dwCertEncodingType
,
&
issuer
->
pCertInfo
->
Issuer
,
&
pCrlContext
->
pCrlInfo
->
Issuer
);
&
issuer
->
pCertInfo
->
Subject
,
&
pCrlContext
->
pCrlInfo
->
Issuer
);
if
(
ret
&&
(
dwFlags
&
CRL_FIND_ISSUED_BY_SIGNATURE_FLAG
))
ret
=
CryptVerifyCertificateSignatureEx
(
0
,
issuer
->
dwCertEncodingType
,
...
...
dlls/crypt32/tests/crl.c
View file @
8646c39b
...
...
@@ -651,11 +651,9 @@ static void testFindCRL(void)
revoked_count
++
;
}
}
while
(
context
);
todo_wine
{
ok
(
count
==
0
,
"expected 0 matching CRLs, got %d
\n
"
,
count
);
ok
(
revoked_count
==
0
,
"expected 0 matching CRL entries, got %d
\n
"
,
revoked_count
);
}
count
=
revoked_count
=
0
;
do
{
context
=
pCertFindCRLInStore
(
store
,
0
,
0
,
CRL_FIND_ISSUED_BY
,
...
...
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