crypt32: Fix a failing test in XP.
This commit is contained in:
parent
1519d9e995
commit
f9b0620f9f
|
@ -511,8 +511,10 @@ static void testCertProperties(void)
|
||||||
size = 0;
|
size = 0;
|
||||||
ret = CertGetCertificateContextProperty(context,
|
ret = CertGetCertificateContextProperty(context,
|
||||||
CERT_SIGNATURE_HASH_PROP_ID, NULL, &size);
|
CERT_SIGNATURE_HASH_PROP_ID, NULL, &size);
|
||||||
ok(!ret && GetLastError() == CRYPT_E_ASN1_BADTAG,
|
ok(!ret &&
|
||||||
"Expected CRYPT_E_ASN1_BADTAG, got %08x\n", GetLastError());
|
(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 */
|
/* Test key contexts and handles and such */
|
||||||
size = 0;
|
size = 0;
|
||||||
|
|
Loading…
Reference in New Issue