James Hawkins : crypt32: Remove a test with a binary result that behaves differently across platforms .

Alexandre Julliard julliard at winehq.org
Wed Sep 3 07:43:29 CDT 2008


Module: wine
Branch: master
Commit: f5dd6d23edd0cb97e4d72e5a4501875e76554b91
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f5dd6d23edd0cb97e4d72e5a4501875e76554b91

Author: James Hawkins <jhawkins at 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());




More information about the wine-cvs mailing list