Module: wine Branch: master Commit: 38c8261135a337ca6e6ebcb6c85395d7c7370c27 URL: http://source.winehq.org/git/wine.git/?a=commit;h=38c8261135a337ca6e6ebcb6c8...
Author: Juan Lang juan.lang@gmail.com Date: Tue Feb 10 11:07:37 2009 -0800
crypt32: Fix a test failure on Windows 98.
---
dlls/crypt32/tests/ctl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/ctl.c b/dlls/crypt32/tests/ctl.c index 2b65ab2..fea7b97 100644 --- a/dlls/crypt32/tests/ctl.c +++ b/dlls/crypt32/tests/ctl.c @@ -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());