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.

29 lines
660 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. diff --git a/fdm.c b/fdm.c
  11. index cdf8383..6721bbd 100644
  12. --- a/fdm.c
  13. +++ b/fdm.c
  14. @@ -717,8 +717,10 @@ retry:
  15. }
  16. conf.lock_file = lock;
  17. +#if OPENSSL_VERSION_NUMBER < 0x10100000L
  18. SSL_library_init();
  19. SSL_load_error_strings();
  20. +#endif
  21. /* Filter account list. */
  22. TAILQ_INIT(&actaq);
  23. --
  24. 2.17.1