Commit 6136810f 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 9ae7af51
Pipeline #208 passed with stage
in 46 seconds
......@@ -61,7 +61,11 @@ void tls_shutdown(void)
tls_ctx_t *tls_ctx_new(const char *cert_file, const char *key_file, const char *cipher_list)
{
tls_ctx_t *ctx;
#if OPENSSL_VERSION_NUMBER < 0x1000114fL
SSL_METHOD *method;
#else
const SSL_METHOD *method;
#endif
long ssl_opts;
if (!cert_file || !key_file || !cipher_list)
......
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