Andrew Nguyen : winhttp: Fix const qualifier warning for OpenSSL 1.0.0.
Alexandre Julliard
julliard at winehq.org
Mon Oct 25 10:58:26 CDT 2010
Module: wine
Branch: master
Commit: 0c7bd62df214dfd0564f5e6e0767f19e7d4f6bb7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0c7bd62df214dfd0564f5e6e0767f19e7d4f6bb7
Author: Andrew Nguyen <anguyen at codeweavers.com>
Date: Sun Oct 24 23:41:36 2010 -0500
winhttp: Fix const qualifier warning for OpenSSL 1.0.0.
---
dlls/winhttp/net.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c
index 6727707..7826fbb 100644
--- a/dlls/winhttp/net.c
+++ b/dlls/winhttp/net.c
@@ -1073,7 +1073,11 @@ const void *netconn_get_certificate( netconn_t *conn )
int netconn_get_cipher_strength( netconn_t *conn )
{
#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 (!conn->secure) return 0;
More information about the wine-cvs
mailing list