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

  1. --- a/loudmouth/lm-ssl-openssl.c
  2. +++ b/loudmouth/lm-ssl-openssl.c
  3. @@ -345,9 +345,11 @@ _lm_ssl_initialize (LmSSL *ssl)
  4. /*const char *cert_file = NULL;*/
  5. if (!initialized) {
  6. +#if OPENSSL_VERSION_NUMBER < 0x10100000L
  7. SSL_library_init();
  8. /* FIXME: Is this needed when we are not in debug? */
  9. SSL_load_error_strings();
  10. +#endif
  11. initialized = TRUE;
  12. }