crypt32: Remove tests for properties not present on all systems.
This commit is contained in:
parent
b08f7fd803
commit
99d3e4c92d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue