Huw Davies : crypt32/tests: Fix test failure on win 8.
Alexandre Julliard
julliard at winehq.org
Wed Jun 11 13:36:21 CDT 2014
Module: wine
Branch: master
Commit: 54129a5171c7bd9f7f4a29bb6aec71b7d6ba54a6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=54129a5171c7bd9f7f4a29bb6aec71b7d6ba54a6
Author: Huw Davies <huw at codeweavers.com>
Date: Tue May 27 13:25:02 2014 +0100
crypt32/tests: Fix test failure on win 8.
---
dlls/crypt32/tests/sip.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/crypt32/tests/sip.c b/dlls/crypt32/tests/sip.c
index 212c24b..0677903 100644
--- a/dlls/crypt32/tests/sip.c
+++ b/dlls/crypt32/tests/sip.c
@@ -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());
More information about the wine-cvs
mailing list