https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e1d57446f8365323dc8c316c935d8534603c8acc

commit e1d57446f8365323dc8c316c935d8534603c8acc
Author:     Amine Khaldi <[email protected]>
AuthorDate: Fri Mar 23 12:21:22 2018 +0100
Commit:     Amine Khaldi <[email protected]>
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),

Reply via email to