Commit 7181c38d authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent e793a2ba
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment