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.

24 lines
591 B

  1. From 3aa079c4885d89257c5033b4992011511b603150 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Tue, 26 Jun 2018 14:14:34 -0700
  4. Subject: [PATCH] Fix compile with OpenSSL 1.1.0
  5. OpenSSL 1.1.0 deprecared SSL_library_init and SSL_load_error_strings.
  6. They're part of OPENSSL_init_ssl now.
  7. ---
  8. fdm.c | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. --- a/fdm.c
  11. +++ b/fdm.c
  12. @@ -717,8 +717,10 @@ retry:
  13. }
  14. conf.lock_file = lock;
  15. +#if OPENSSL_VERSION_NUMBER < 0x10100000L
  16. SSL_library_init();
  17. SSL_load_error_strings();
  18. +#endif
  19. /* Filter account list. */
  20. TAILQ_INIT(&actaq);