advapi32/tests: Run a test on more platforms.

Nicolas Le Cam niko.lecam at gmail.com
Mon Nov 3 15:00:11 CST 2008


---
 dlls/advapi32/tests/crypt.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/advapi32/tests/crypt.c b/dlls/advapi32/tests/crypt.c
index 09a23fc..4a93e80 100644
--- a/dlls/advapi32/tests/crypt.c
+++ b/dlls/advapi32/tests/crypt.c
@@ -614,7 +614,9 @@ static void test_enum_provider_types(void)
 	DWORD dwTypeCount;
 	
 	/* actual values */
-	DWORD index = 0;
+	/* the first provider type registry key may not have a TypeName subkey
+	 * we use the second one instead */
+	DWORD index = 1;
 	DWORD provType;
 	LPSTR typeName = NULL;
 	DWORD typeNameSize;
-- 
1.5.6.3


--=-kpMzN2jD5zHLrlpyhpLc--




More information about the wine-patches mailing list