Module: wine Branch: master Commit: f5dd6d23edd0cb97e4d72e5a4501875e76554b91 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5dd6d23edd0cb97e4d72e5a45...
Author: James Hawkins jhawkins@codeweavers.com Date: Tue Sep 2 00:54:48 2008 -0500
crypt32: Remove a test with a binary result that behaves differently across platforms.
---
dlls/crypt32/tests/main.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/tests/main.c b/dlls/crypt32/tests/main.c index 87ac711..3d54b3b 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());