Using InitSecurityInterfaceEx(0) now.
This commit is contained in:
parent
e8b50eb2d0
commit
3c329aa207
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user