Commit f5dd6d23 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 3dedb0fd
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment