Commit 99d3e4c9 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

crypt32: Remove tests for properties not present on all systems.

parent b08f7fd8
......@@ -475,14 +475,6 @@ static void testCertProperties(void)
/* Check a few other implicit properties */
checkHash(bigCert, sizeof(bigCert), CALG_MD5, context,
CERT_MD5_HASH_PROP_ID);
checkHash(
context->pCertInfo->Subject.pbData,
context->pCertInfo->Subject.cbData,
CALG_MD5, context, CERT_SUBJECT_NAME_MD5_HASH_PROP_ID);
checkHash(
context->pCertInfo->SubjectPublicKeyInfo.PublicKey.pbData,
context->pCertInfo->SubjectPublicKeyInfo.PublicKey.cbData,
CALG_MD5, context, CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID);
/* Test key contexts and handles and such */
size = 0;
......@@ -1775,7 +1767,7 @@ static void testSignAndEncodeCert(void)
algID.pszObjId = oid_rsa_md5;
ret = CryptSignAndEncodeCertificate(0, 0, X509_ASN_ENCODING,
X509_CERT_TO_BE_SIGNED, &info, &algID, NULL, NULL, &size);
ok(ret, "CryptSignAndEncodeCertificate failed: %08x\n", GetLastError());
/* oid_rsa_md5 not present in some win2k */
if (ret)
{
LPBYTE buf = HeapAlloc(GetProcessHeap(), 0, size);
......
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