Commit b20e1110 authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

wininet: Fix const qualifier warning when compiling with OpenSSL 1.0.0.

parent 0c7bd62d
...@@ -875,7 +875,11 @@ LPCVOID NETCON_GetCert(WININET_NETCONNECTION *connection) ...@@ -875,7 +875,11 @@ LPCVOID NETCON_GetCert(WININET_NETCONNECTION *connection)
int NETCON_GetCipherStrength(WININET_NETCONNECTION *connection) int NETCON_GetCipherStrength(WININET_NETCONNECTION *connection)
{ {
#ifdef SONAME_LIBSSL #ifdef SONAME_LIBSSL
#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x0090707f)
const SSL_CIPHER *cipher;
#else
SSL_CIPHER *cipher; SSL_CIPHER *cipher;
#endif
int bits = 0; int bits = 0;
if (!connection->useSSL) if (!connection->useSSL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment