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
a33c4bfd
Commit
a33c4bfd
authored
Nov 12, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Pass hostname to netconn_secure_connect.
parent
59820c2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
net.c
dlls/winhttp/net.c
+1
-1
request.c
dlls/winhttp/request.c
+1
-1
winhttp_private.h
dlls/winhttp/winhttp_private.h
+1
-1
No files found.
dlls/winhttp/net.c
View file @
a33c4bfd
...
...
@@ -418,7 +418,7 @@ BOOL netconn_connect( netconn_t *conn, const struct sockaddr *sockaddr, unsigned
return
ret
;
}
BOOL
netconn_secure_connect
(
netconn_t
*
conn
)
BOOL
netconn_secure_connect
(
netconn_t
*
conn
,
WCHAR
*
hostname
)
{
#ifdef SONAME_LIBSSL
X509
*
cert
;
...
...
dlls/winhttp/request.c
View file @
a33c4bfd
...
...
@@ -957,7 +957,7 @@ static BOOL open_connection( request_t *request )
return
FALSE
;
}
}
if
(
!
netconn_secure_connect
(
&
request
->
netconn
))
if
(
!
netconn_secure_connect
(
&
request
->
netconn
,
connect
->
servername
))
{
netconn_close
(
&
request
->
netconn
);
heap_free
(
addressW
);
...
...
dlls/winhttp/winhttp_private.h
View file @
a33c4bfd
...
...
@@ -219,7 +219,7 @@ void netconn_unload( void );
BOOL
netconn_query_data_available
(
netconn_t
*
,
DWORD
*
);
BOOL
netconn_recv
(
netconn_t
*
,
void
*
,
size_t
,
int
,
int
*
);
BOOL
netconn_resolve
(
WCHAR
*
,
INTERNET_PORT
,
struct
sockaddr
*
,
socklen_t
*
);
BOOL
netconn_secure_connect
(
netconn_t
*
);
BOOL
netconn_secure_connect
(
netconn_t
*
,
WCHAR
*
);
BOOL
netconn_send
(
netconn_t
*
,
const
void
*
,
size_t
,
int
,
int
*
);
DWORD
netconn_set_timeout
(
netconn_t
*
,
BOOL
,
int
);
const
void
*
netconn_get_certificate
(
netconn_t
*
);
...
...
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