wininet: Pass the server name into InitializeSecurityContextW.
This commit is contained in:
parent
dbcac92819
commit
5edcf3ab6c
|
@ -561,7 +561,8 @@ static BOOL HTTP_DoAuthorization( LPWININETHTTPREQW lpwhr, LPCWSTR pszAuthValue,
|
|||
out_desc.pBuffers = &out;
|
||||
|
||||
sec_status = InitializeSecurityContextW(first ? &pAuthInfo->cred : NULL,
|
||||
first ? NULL : &pAuthInfo->ctx, NULL,
|
||||
first ? NULL : &pAuthInfo->ctx,
|
||||
first ? lpwhr->lpHttpSession->lpszServerName : NULL,
|
||||
context_req, 0, SECURITY_NETWORK_DREP,
|
||||
in.pvBuffer ? &in_desc : NULL,
|
||||
0, &pAuthInfo->ctx, &out_desc,
|
||||
|
|
Loading…
Reference in New Issue