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
6808c1c6
Commit
6808c1c6
authored
Sep 29, 2010
by
Juan Lang
Committed by
Alexandre Julliard
Sep 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Remove unneeded error message.
parent
44112c36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
netconnection.c
dlls/wininet/netconnection.c
+1
-11
No files found.
dlls/wininet/netconnection.c
View file @
6808c1c6
...
...
@@ -145,7 +145,6 @@ MAKE_FUNCPTR(SSL_get_ex_new_index);
MAKE_FUNCPTR
(
SSL_get_ex_data
);
MAKE_FUNCPTR
(
SSL_set_ex_data
);
MAKE_FUNCPTR
(
SSL_get_ex_data_X509_STORE_CTX_idx
);
MAKE_FUNCPTR
(
SSL_get_verify_result
);
MAKE_FUNCPTR
(
SSL_get_peer_certificate
);
MAKE_FUNCPTR
(
SSL_CTX_get_timeout
);
MAKE_FUNCPTR
(
SSL_CTX_set_timeout
);
...
...
@@ -426,7 +425,6 @@ DWORD NETCON_init(WININET_NETCONNECTION *connection, BOOL useSSL)
DYNSSL
(
SSL_get_ex_data
);
DYNSSL
(
SSL_set_ex_data
);
DYNSSL
(
SSL_get_ex_data_X509_STORE_CTX_idx
);
DYNSSL
(
SSL_get_verify_result
);
DYNSSL
(
SSL_get_peer_certificate
);
DYNSSL
(
SSL_CTX_get_timeout
);
DYNSSL
(
SSL_CTX_set_timeout
);
...
...
@@ -670,9 +668,8 @@ DWORD NETCON_close(WININET_NETCONNECTION *connection)
DWORD
NETCON_secure_connect
(
WININET_NETCONNECTION
*
connection
,
LPWSTR
hostname
)
{
DWORD
res
=
ERROR_NOT_SUPPORTED
;
#ifdef SONAME_LIBSSL
long
verify_res
;
#ifdef SONAME_LIBSSL
/* can't connect if we are already connected */
if
(
connection
->
useSSL
)
{
...
...
@@ -719,13 +716,6 @@ DWORD NETCON_secure_connect(WININET_NETCONNECTION *connection, LPWSTR hostname)
ERR
(
"SSL_connect failed: %d
\n
"
,
res
);
goto
fail
;
}
verify_res
=
pSSL_get_verify_result
(
connection
->
ssl_s
);
if
(
verify_res
!=
X509_V_OK
)
{
ERR
(
"couldn't verify the security of the connection, %ld
\n
"
,
verify_res
);
/* FIXME: we should set an error and return, but we only warn at
* the moment */
}
connection
->
useSSL
=
TRUE
;
return
ERROR_SUCCESS
;
...
...
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