Marcus Meissner : crypt32: Pass the correct pointer into CertificateFindStore.
Alexandre Julliard
julliard at winehq.org
Mon Nov 9 15:14:19 CST 2009
Module: wine
Branch: master
Commit: c25753ece29f8b65fa49a80f983735ddf0a9c3b6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c25753ece29f8b65fa49a80f983735ddf0a9c3b6
Author: Marcus Meissner <meissner at suse.de>
Date: Mon Nov 9 13:44:22 2009 +0100
crypt32: Pass the correct pointer into CertificateFindStore.
---
dlls/crypt32/tests/cert.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index 4dc8846..e1c8262 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -1089,7 +1089,7 @@ static void testFindCert(void)
* the issuer, not the subject
*/
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");
certInfo.Subject.pbData = NULL;
certInfo.Subject.cbData = 0;
@@ -1102,7 +1102,7 @@ static void testFindCert(void)
if (context)
{
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");
}
/* A non-matching serial number will not match. */
More information about the wine-cvs
mailing list