Commit 4125e568 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Corrected const for SSL_METHOD*.

I did this for OpenSSL 1.0.1t (0x1000114fL) as I don't
know which was the first affected version.
parent 130ef73a
......@@ -194,7 +194,11 @@ static unsigned long _next_connection_id(void)
#ifdef HAVE_OPENSSL
static void get_ssl_certificate (ice_config_t *config)
{
#if OPENSSL_VERSION_NUMBER < 0x1000114fL
SSL_METHOD *method;
#else
const SSL_METHOD *method;
#endif
long ssl_opts;
ssl_ok = 0;
......
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