loudmouth: Disable debug and fix no deprecated API compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2018-11-27 09:41:55 -08:00
parent 131b83de76
commit 788fda356e
2 changed files with 20 additions and 1 deletions
@@ -0,0 +1,14 @@
--- a/loudmouth/lm-ssl-openssl.c
+++ b/loudmouth/lm-ssl-openssl.c
@@ -345,9 +345,11 @@ _lm_ssl_initialize (LmSSL *ssl)
/*const char *cert_file = NULL;*/
if (!initialized) {
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
SSL_library_init();
/* FIXME: Is this needed when we are not in debug? */
SSL_load_error_strings();
+#endif
initialized = TRUE;
}