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
c25753ec
Commit
c25753ec
authored
Nov 09, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Pass the correct pointer into CertificateFindStore.
parent
8575935f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cert.c
dlls/crypt32/tests/cert.c
+2
-2
No files found.
dlls/crypt32/tests/cert.c
View file @
c25753ec
...
@@ -1089,7 +1089,7 @@ static void testFindCert(void)
...
@@ -1089,7 +1089,7 @@ static void testFindCert(void)
* the issuer, not the subject
* the issuer, not the subject
*/
*/
context
=
CertFindCertificateInStore
(
store
,
X509_ASN_ENCODING
,
0
,
context
=
CertFindCertificateInStore
(
store
,
X509_ASN_ENCODING
,
0
,
CERT_FIND_SUBJECT_CERT
,
&
certInfo
.
Subject
,
NULL
);
CERT_FIND_SUBJECT_CERT
,
&
certInfo
,
NULL
);
ok
(
context
==
NULL
,
"Expected no certificate
\n
"
);
ok
(
context
==
NULL
,
"Expected no certificate
\n
"
);
certInfo
.
Subject
.
pbData
=
NULL
;
certInfo
.
Subject
.
pbData
=
NULL
;
certInfo
.
Subject
.
cbData
=
0
;
certInfo
.
Subject
.
cbData
=
0
;
...
@@ -1102,7 +1102,7 @@ static void testFindCert(void)
...
@@ -1102,7 +1102,7 @@ static void testFindCert(void)
if
(
context
)
if
(
context
)
{
{
context
=
CertFindCertificateInStore
(
store
,
X509_ASN_ENCODING
,
0
,
context
=
CertFindCertificateInStore
(
store
,
X509_ASN_ENCODING
,
0
,
CERT_FIND_SUBJECT_CERT
,
&
certInfo
.
Subject
,
context
);
CERT_FIND_SUBJECT_CERT
,
&
certInfo
,
context
);
ok
(
context
==
NULL
,
"Expected one cert only
\n
"
);
ok
(
context
==
NULL
,
"Expected one cert only
\n
"
);
}
}
/* A non-matching serial number will not match. */
/* A non-matching serial number will not match. */
...
...
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