From 7181c38dccf5e4e50e5fd0e5deb07e68049616dc Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 5 Jan 2009 15:44:37 +0100 Subject: [PATCH] crypt32/tests: Fix handle size in CERT_KEY_PROV_HANDLE_PROP_ID for Win64. --- dlls/crypt32/tests/cert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c index c26398b4a6f..69e7ce6e819 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",