wininet: Fix const qualifier warning when compiling with OpenSSL 1.0.0.
This commit is contained in:
parent
0c7bd62df2
commit
b20e111088
|
@ -875,7 +875,11 @@ LPCVOID NETCON_GetCert(WININET_NETCONNECTION *connection)
|
|||
int NETCON_GetCipherStrength(WININET_NETCONNECTION *connection)
|
||||
{
|
||||
#ifdef SONAME_LIBSSL
|
||||
#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x0090707f)
|
||||
const SSL_CIPHER *cipher;
|
||||
#else
|
||||
SSL_CIPHER *cipher;
|
||||
#endif
|
||||
int bits = 0;
|
||||
|
||||
if (!connection->useSSL)
|
||||
|
|
Loading…
Reference in New Issue