Commit f9b0620f authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

crypt32: Fix a failing test in XP.

parent 1519d9e9
......@@ -511,7 +511,9 @@ static void testCertProperties(void)
size = 0;
ret = CertGetCertificateContextProperty(context,
CERT_SIGNATURE_HASH_PROP_ID, NULL, &size);
ok(!ret && GetLastError() == CRYPT_E_ASN1_BADTAG,
ok(!ret &&
(GetLastError() == CRYPT_E_ASN1_BADTAG ||
GetLastError() == CRYPT_E_NOT_FOUND),
"Expected CRYPT_E_ASN1_BADTAG, got %08x\n", GetLastError());
/* Test key contexts and handles and such */
......
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