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

View file

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