Rob Shearman : wininet: Pass the server name into InitializeSecurityContextW.

Alexandre Julliard julliard at winehq.org
Fri Jan 25 07:06:08 CST 2008


Module: wine
Branch: master
Commit: 5edcf3ab6c333a1a5046651080a3bd67bb2b8dc2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5edcf3ab6c333a1a5046651080a3bd67bb2b8dc2

Author: Rob Shearman <rob at 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,




More information about the wine-cvs mailing list