Module: wine Branch: master Commit: 5edcf3ab6c333a1a5046651080a3bd67bb2b8dc2 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5edcf3ab6c333a1a5046651080...
Author: Rob Shearman rob@codeweavers.com Date: Thu Jan 24 19:30:11 2008 +0000
wininet: Pass the server name into InitializeSecurityContextW.
---
dlls/wininet/http.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index 50d61da..16e1ec7 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -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,