1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Free strings with older OpenSSL versions

This commit is contained in:
Marvin Scholz 2019-04-20 21:37:59 +02:00
parent e09f48a034
commit 8b68c462c4

View File

@ -61,8 +61,12 @@ void tls_initialize(void)
SSL_library_init(); /* initialize library */
#endif
}
void tls_shutdown(void)
{
#if OPENSSL_VERSION_NUMBER < 0x10100000L
ERR_free_strings();
#endif
}
tls_ctx_t *tls_ctx_new(const char *cert_file, const char *key_file, const char *cipher_list)