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
53391a34
Commit
53391a34
authored
Jul 26, 2010
by
Uwe Bonnes
Committed by
Alexandre Julliard
Aug 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Add const qualifier after openssl version check.
parent
1510698b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
net.c
dlls/winhttp/net.c
+5
-0
netconnection.c
dlls/wininet/netconnection.c
+5
-0
No files found.
dlls/winhttp/net.c
View file @
53391a34
...
...
@@ -38,6 +38,7 @@
#endif
#ifdef HAVE_OPENSSL_SSL_H
# include <openssl/ssl.h>
# include <openssl/opensslv.h>
#undef FAR
#undef DSA
#endif
...
...
@@ -91,7 +92,11 @@ static CRITICAL_SECTION init_ssl_cs = { &init_ssl_cs_debug, -1, 0, 0, 0, 0 };
static
void
*
libssl_handle
;
static
void
*
libcrypto_handle
;
#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER> 0x1000000)
static
const
SSL_METHOD
*
method
;
#else
static
SSL_METHOD
*
method
;
#endif
static
SSL_CTX
*
ctx
;
static
int
hostname_idx
;
static
int
error_idx
;
...
...
dlls/wininet/netconnection.c
View file @
53391a34
...
...
@@ -60,6 +60,7 @@
#endif
#ifdef HAVE_OPENSSL_SSL_H
# include <openssl/ssl.h>
# include <openssl/opensslv.h>
#undef FAR
#undef DSA
#endif
...
...
@@ -113,7 +114,11 @@ static CRITICAL_SECTION init_ssl_cs = { &init_ssl_cs_debug, -1, 0, 0, 0, 0 };
static
void
*
OpenSSL_ssl_handle
;
static
void
*
OpenSSL_crypto_handle
;
#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER> 0x1000000)
static
const
SSL_METHOD
*
meth
;
#else
static
SSL_METHOD
*
meth
;
#endif
static
SSL_CTX
*
ctx
;
static
int
hostname_idx
;
static
int
error_idx
;
...
...
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