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