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.

16 lines
421 B

  1. --- a/updates/ids_tls_update.c
  2. +++ b/updates/ids_tls_update.c
  3. @@ -68,11 +68,13 @@ setup_context(const char *hostname, int
  4. int rc;
  5. unsigned long ssl_err = 0;
  6. +#if OPENSSL_API_COMPAT < 0x10100000L
  7. SSL_load_error_strings();
  8. SSL_library_init();
  9. OpenSSL_add_all_algorithms();
  10. ERR_load_BIO_strings();
  11. ERR_load_crypto_strings();
  12. +#endif
  13. #ifdef HAVE_TLS_METHOD
  14. method = TLS_method();