Module: wine Branch: master Commit: 7181c38dccf5e4e50e5fd0e5deb07e68049616dc URL: http://source.winehq.org/git/wine.git/?a=commit;h=7181c38dccf5e4e50e5fd0e5de...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 5 15:44:37 2009 +0100
crypt32/tests: Fix handle size in CERT_KEY_PROV_HANDLE_PROP_ID for Win64.
---
dlls/crypt32/tests/cert.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c index c26398b..69e7ce6 100644 --- a/dlls/crypt32/tests/cert.c +++ b/dlls/crypt32/tests/cert.c @@ -551,7 +551,7 @@ static void testCertProperties(void) ok(ret, "CertSetCertificateContextProperty failed: %08x\n", GetLastError()); /* Now that that's set, the key prov handle property is also gettable. */ - size = sizeof(DWORD); + size = sizeof(keyContext.hCryptProv); ret = CertGetCertificateContextProperty(context, CERT_KEY_PROV_HANDLE_PROP_ID, &keyContext.hCryptProv, &size); ok(ret, "Expected to get the CERT_KEY_PROV_HANDLE_PROP_ID, got %08x\n",