https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e1d57446f8365323dc8c3…
commit e1d57446f8365323dc8c316c935d8534603c8acc
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Fri Mar 23 12:21:22 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Fri Mar 23 12:21:22 2018 +0100
[SCHANNEL_WINETEST] Sync with Wine Staging 3.3. CORE-14434
---
modules/rostests/winetests/schannel/main.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/modules/rostests/winetests/schannel/main.c
b/modules/rostests/winetests/schannel/main.c
index 4240dd76cb..fc913c14a9 100644
--- a/modules/rostests/winetests/schannel/main.c
+++ b/modules/rostests/winetests/schannel/main.c
@@ -213,12 +213,17 @@ static void testGetInfo(void)
pTables = getNextSecPkgTable(pTables, Version);
if (!pTables)
return;
+ if (!pTables->GetInfo)
+ {
+ win_skip("GetInfo function missing\n");
+ return;
+ }
status = pTables->GetInfo(&PackageInfo);
- ok(status == STATUS_SUCCESS ||
+ ok(SUCCEEDED(status) ||
status == SEC_E_UNSUPPORTED_FUNCTION, /* win2k3 */
"status: 0x%x\n", status);
- if (status == STATUS_SUCCESS)
+ if (SUCCEEDED(status))
{
ok(PackageInfo.fCapabilities == LSA_BASE_CAPS ||
PackageInfo.fCapabilities ==
(LSA_BASE_CAPS|SECPKG_FLAG_APPCONTAINER_PASSTHROUGH),