From f5dd6d23edd0cb97e4d72e5a4501875e76554b91 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 2 Sep 2008 00:54:48 -0500 Subject: [PATCH] crypt32: Remove a test with a binary result that behaves differently across platforms. --- dlls/crypt32/tests/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/crypt32/tests/main.c b/dlls/crypt32/tests/main.c index 87ac7116ce9..3d54b3b3e74 100644 --- a/dlls/crypt32/tests/main.c +++ b/dlls/crypt32/tests/main.c @@ -200,8 +200,7 @@ static void test_cryptAllocate(void) buf = CryptMemAlloc(0); ok(buf != NULL, "CryptMemAlloc failed: %08x\n", GetLastError()); CryptMemFree(buf); - buf = CryptMemRealloc(NULL, 0); - ok(!buf, "Expected NULL\n"); + /* CryptMemRealloc(NULL, 0) fails pre-Vista */ buf = CryptMemAlloc(0); buf = CryptMemRealloc(buf, 1); ok(buf != NULL, "CryptMemRealloc failed: %08x\n", GetLastError());