You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
400 B

--- 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;
}