diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c index 0ab9334..3fce85e 100644 --- a/dlls/crypt32/tests/cert.c +++ b/dlls/crypt32/tests/cert.c @@ -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); -- 1.5.4.3