Module: wine Branch: master Commit: 3dedb0fdba9e6c90cb754ef93414287e3e598565 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3dedb0fdba9e6c90cb754ef934...
Author: James Hawkins jhawkins@codeweavers.com Date: Tue Sep 2 00:53:56 2008 -0500
crypt32: Fix a test that fails in Vista.
---
dlls/crypt32/tests/main.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/tests/main.c b/dlls/crypt32/tests/main.c index 43c07bf..87ac711 100644 --- a/dlls/crypt32/tests/main.c +++ b/dlls/crypt32/tests/main.c @@ -361,7 +361,9 @@ static void test_CryptInstallOssGlobal(void) for(i=0;i<30;i++) { ret = pI_CryptInstallOssGlobal(rand(),rand(),rand()); - ok((9+i) == ret,"Expected %d, got %d\n",(9+i),ret); + ok((9+i) == ret || + ret == 0, /* Vista */ + "Expected %d or 0, got %d\n",(9+i),ret); } }