loudmouth/lm-ssl-openssl.c
changeset 732 8588b5fd084a
parent 719 647363d68e7a
--- a/loudmouth/lm-ssl-openssl.c	Sat Oct 13 10:58:32 2018 +0200
+++ b/loudmouth/lm-ssl-openssl.c	Sat May 04 16:00:37 2019 +0000
@@ -362,9 +362,11 @@
     /*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;
     }