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.

31 lines
770 B

  1. From 070cee8d1efba1ca260777a204fba7cdfe676ca5 Mon Sep 17 00:00:00 2001
  2. From: Nicholas Marriott <nicholas.marriott@gmail.com>
  3. Date: Tue, 17 Jan 2017 23:14:03 +0000
  4. Subject: [PATCH] Look for OPENSSL_init_ssl, from Tomasz Miasko.
  5. ---
  6. configure.ac | 7 ++++++-
  7. 1 file changed, 6 insertions(+), 1 deletion(-)
  8. diff --git a/configure.ac b/configure.ac
  9. index 5793c2d..161040c 100644
  10. --- a/configure.ac
  11. +++ b/configure.ac
  12. @@ -93,11 +93,16 @@ if test "x$found_libcrypto" = xno; then
  13. AC_MSG_ERROR("libcrypto not found")
  14. fi
  15. AC_SEARCH_LIBS(
  16. - SSL_library_init,
  17. + OPENSSL_init_ssl,
  18. [ssl],
  19. found_libssl=yes,
  20. found_libssl=no
  21. )
  22. +AC_SEARCH_LIBS(
  23. + SSL_library_init,
  24. + [ssl],
  25. + found_libssl=yes
  26. +)
  27. if test "x$found_libssl" = xno; then
  28. AC_MSG_ERROR("libssl not found")
  29. fi