[CRYPT32_WINETEST]
[reactos.git] / rostests / winetests / crypt32 / sip.c
index 753e4e7..8a70d81 100644 (file)
@@ -119,6 +119,9 @@ static void test_AddRemoveProvider(void)
     newprov.pwszRemoveFuncName = dummyfunction;
     newprov.pwszIsFunctionNameFmt2 = dummyfunction;
     newprov.pwszIsFunctionName = dummyfunction;
+    /* If GetCapFuncName set to NULL, then CryptSIPRemoveProvider fails on win 8 */
+    newprov.pwszGetCapFuncName = dummyfunction;
+
     SetLastError(0xdeadbeef);
     ret = CryptSIPAddProvider(&newprov);
     ok ( ret, "CryptSIPAddProvider should have succeeded, last error %d\n", GetLastError());