diff --git a/dlls/winhttp/net.c b/dlls/winhttp/net.c index 79e6789..3c68ee0 100644 --- a/dlls/winhttp/net.c +++ b/dlls/winhttp/net.c @@ -82,7 +82,7 @@ static CRITICAL_SECTION cs_gethostbyname = { &critsect_debug, -1, 0, 0, 0, 0 }; static void *libssl_handle; static void *libcrypto_handle; -static SSL_METHOD *method; +static const SSL_METHOD *method; static SSL_CTX *ctx; #define MAKE_FUNCPTR(f) static typeof(f) * p##f diff --git a/dlls/wininet/netconnection.c b/dlls/wininet/netconnection.c index 3c55528..cf9a8d2 100644 --- a/dlls/wininet/netconnection.c +++ b/dlls/wininet/netconnection.c @@ -101,7 +101,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet); static void *OpenSSL_ssl_handle; static void *OpenSSL_crypto_handle; -static SSL_METHOD *meth; +static const SSL_METHOD *meth; static SSL_CTX *ctx; #define MAKE_FUNCPTR(f) static typeof(f) * p##f