Commit 3174806f authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Make base64 tests loadable on win9x.

parent a3aa7cf0
......@@ -132,6 +132,8 @@ static void testBinaryToStringA(void)
BOOL ret;
DWORD strLen = 0, i;
if (!pCryptBinaryToStringA) return;
ret = pCryptBinaryToStringA(NULL, 0, 0, NULL, NULL);
ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER,
"Expected ERROR_INVALID_PARAMETER, got %ld\n", GetLastError());
......@@ -318,6 +320,8 @@ static void testStringToBinaryA(void)
BOOL ret;
DWORD bufLen = 0, i;
if (!pCryptStringToBinaryA) return;
ret = pCryptStringToBinaryA(NULL, 0, 0, NULL, NULL, NULL, NULL);
ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER,
"Expected ERROR_INVALID_PARAMETER, got %ld\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