Using InitSecurityInterfaceEx(0) now.

This commit is contained in:
Armin Novak 2015-06-17 13:23:44 +02:00
parent e8b50eb2d0
commit 3c329aa207
2 changed files with 3 additions and 3 deletions

View 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;

View 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);