0003-Fix-openssl-detection.patch 845 B

1234567891011121314151617181920212223242526272829
  1. From 96dde9dedf806256cdc6cbf5cacbd5c8d74e6288 Mon Sep 17 00:00:00 2001
  2. From: Jonathan Kimmitt <jrrk2@cam.ac.uk>
  3. Date: Thu, 9 Jan 2020 22:01:42 +0100
  4. Subject: [PATCH] Fix openssl detection
  5. SSL_library_init is now a define, use OPENSSL_init_ssl instead.
  6. Signed-off-by: Jonathan Kimmitt <jrrk2@cam.ac.uk>
  7. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  8. ---
  9. configure.ac | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/configure.ac b/configure.ac
  12. index 66b5e9f..206fd53 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -276,7 +276,7 @@ if test "x$enable_ssl" = "xyes"; then
  16. if test "x$ssl_ok" = "xyes"; then
  17. old_libs="$LIBS"
  18. - AC_CHECK_LIB(ssl, SSL_library_init, ssl_ok=yes, ssl_ok=no, -lcrypto)
  19. + AC_CHECK_LIB(ssl, OPENSSL_init_ssl, ssl_ok=yes, ssl_ok=no, -lcrypto)
  20. LIBS="$old_libs"
  21. fi
  22. --
  23. 2.24.1