From ad46dbd4cc866592aab8ab84f34ccf98762ac995 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Sun, 12 Feb 2012 17:51:23 -0800 Subject: [PATCH] crypt32/tests: Fix test failures on older NT4. --- dlls/crypt32/tests/cert.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c index 759b0dacf37..9678053a231 100644 --- a/dlls/crypt32/tests/cert.c +++ b/dlls/crypt32/tests/cert.c @@ -3321,6 +3321,11 @@ static void testVerifyRevocation(void) SetLastError(0xdeadbeef); ret = CertVerifyRevocation(X509_ASN_ENCODING, CERT_CONTEXT_REVOCATION_TYPE, 1, (void **)certs, 0, NULL, &status); + if (!ret && GetLastError() == ERROR_FILE_NOT_FOUND) + { + win_skip("CERT_CONTEXT_REVOCATION_TYPE unsupported, skipping\n"); + return; + } ok(!ret && GetLastError() == CRYPT_E_NO_REVOCATION_CHECK, "expected CRYPT_E_NO_REVOCATION_CHECK, got %08x\n", GetLastError()); ok(status.dwError == CRYPT_E_NO_REVOCATION_CHECK,