Using InitSecurityInterfaceEx(0) now.
authorArmin Novak <armin.novak@thincast.com>
Wed, 17 Jun 2015 11:23:44 +0000 (13:23 +0200)
committerArmin Novak <armin.novak@thincast.com>
Wed, 17 Jun 2015 11:23:44 +0000 (13:23 +0200)
libfreerdp/core/gateway/ntlm.c
libfreerdp/core/nla.c

index 68add2c..fa6e897 100644 (file)
@@ -43,7 +43,7 @@ BOOL ntlm_client_init(rdpNtlm* ntlm, BOOL http, char* user, char* domain, char*
        ntlm->http = http;
        ntlm->Bindings = Bindings;
 
-       ntlm->table = InitSecurityInterface();
+       ntlm->table = InitSecurityInterfaceEx(0);
 
        if (!ntlm->table)
                return FALSE;
index dbcffcd..f9e464c 100644 (file)
@@ -211,7 +211,7 @@ int nla_client_init(rdpNla* nla)
        nla->ServicePrincipalName = spn;
 #endif
 
-       nla->table = InitSecurityInterface();
+       nla->table = InitSecurityInterfaceEx(0);
        nla->status = nla->table->QuerySecurityPackageInfo(NLA_PKG_NAME, &nla->pPackageInfo);
 
        if (nla->status != SEC_E_OK)
@@ -498,7 +498,7 @@ int nla_server_init(rdpNla* nla)
        }
        else
        {
-               nla->table = InitSecurityInterface();
+               nla->table = InitSecurityInterfaceEx(0);
        }
 
        nla->status = nla->table->QuerySecurityPackageInfo(NLA_PKG_NAME, &nla->pPackageInfo);