Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9967aed0
Commit
9967aed0
authored
Mar 25, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Mar 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpcrt4: Use the right port for https connections.
parent
c09c82b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
rpc_transport.c
dlls/rpcrt4/rpc_transport.c
+6
-1
No files found.
dlls/rpcrt4/rpc_transport.c
View file @
9967aed0
...
@@ -2066,7 +2066,7 @@ static RPC_STATUS rpcrt4_http_internet_connect(RpcConnection_http *httpc)
...
@@ -2066,7 +2066,7 @@ static RPC_STATUS rpcrt4_http_internet_connect(RpcConnection_http *httpc)
LPWSTR
password
=
NULL
;
LPWSTR
password
=
NULL
;
LPWSTR
servername
=
NULL
;
LPWSTR
servername
=
NULL
;
const
WCHAR
*
option
;
const
WCHAR
*
option
;
INTERNET_PORT
port
=
INTERNET_INVALID_PORT_NUMBER
;
/* use default port */
INTERNET_PORT
port
;
if
(
httpc
->
common
.
QOS
&&
if
(
httpc
->
common
.
QOS
&&
(
httpc
->
common
.
QOS
->
qos
->
AdditionalSecurityInfoType
==
RPC_C_AUTHN_INFO_TYPE_HTTP
))
(
httpc
->
common
.
QOS
->
qos
->
AdditionalSecurityInfoType
==
RPC_C_AUTHN_INFO_TYPE_HTTP
))
...
@@ -2163,6 +2163,11 @@ static RPC_STATUS rpcrt4_http_internet_connect(RpcConnection_http *httpc)
...
@@ -2163,6 +2163,11 @@ static RPC_STATUS rpcrt4_http_internet_connect(RpcConnection_http *httpc)
MultiByteToWideChar
(
CP_ACP
,
0
,
httpc
->
common
.
NetworkAddr
,
-
1
,
servername
,
strlen
(
httpc
->
common
.
NetworkAddr
)
+
1
);
MultiByteToWideChar
(
CP_ACP
,
0
,
httpc
->
common
.
NetworkAddr
,
-
1
,
servername
,
strlen
(
httpc
->
common
.
NetworkAddr
)
+
1
);
}
}
port
=
(
httpc
->
common
.
QOS
&&
(
httpc
->
common
.
QOS
->
qos
->
AdditionalSecurityInfoType
==
RPC_C_AUTHN_INFO_TYPE_HTTP
)
&&
(
httpc
->
common
.
QOS
->
qos
->
u
.
HttpCredentials
->
Flags
&
RPC_C_HTTP_FLAG_USE_SSL
))
?
INTERNET_DEFAULT_HTTPS_PORT
:
INTERNET_DEFAULT_HTTP_PORT
;
httpc
->
session
=
InternetConnectW
(
httpc
->
app_info
,
servername
,
port
,
user
,
password
,
httpc
->
session
=
InternetConnectW
(
httpc
->
app_info
,
servername
,
port
,
user
,
password
,
INTERNET_SERVICE_HTTP
,
0
,
0
);
INTERNET_SERVICE_HTTP
,
0
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment