mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
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.
This commit is contained in:
parent
9ae7af51b6
commit
6136810f27
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user