crypt32/tests: Fix handle size in CERT_KEY_PROV_HANDLE_PROP_ID for Win64.

This commit is contained in:
Alexandre Julliard 2009-01-05 15:44:37 +01:00
parent e793a2ba35
commit 7181c38dcc
1 changed files with 1 additions and 1 deletions

View File

@ -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",