From 3dedb0fdba9e6c90cb754ef93414287e3e598565 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Tue, 2 Sep 2008 00:53:56 -0500 Subject: [PATCH] crypt32: Fix a test that fails in Vista. --- dlls/crypt32/tests/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/tests/main.c b/dlls/crypt32/tests/main.c index 43c07bf1692..87ac7116ce9 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); } }