crypt32: Fix a test failure on Windows 98.

This commit is contained in:
Juan Lang 2009-02-10 11:07:37 -08:00 committed by Alexandre Julliard
parent d00a85f4ad
commit 38c8261135
1 changed files with 2 additions and 1 deletions

View File

@ -146,7 +146,8 @@ static void testCreateCTL(void)
sizeof(ctlWithOneEntry));
ok((!ctl &&
(GetLastError() == ERROR_INVALID_DATA ||
GetLastError() == CRYPT_E_UNEXPECTED_MSG_TYPE /* win9x */)) ||
GetLastError() == CRYPT_E_UNEXPECTED_MSG_TYPE /* win9x */ ||
GetLastError() == OSS_DATA_ERROR /* some win98 */)) ||
broken(ctl != NULL /* some win98 */),
"expected ERROR_INVALID_DATA, got %d (0x%08x)\n", GetLastError(),
GetLastError());