crypt32: Make base64 tests loadable on win9x.

This commit is contained in:
Juan Lang 2006-06-01 09:14:58 -07:00 committed by Alexandre Julliard
parent a3aa7cf033
commit 3174806f86
1 changed files with 4 additions and 0 deletions

View File

@ -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());