summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAnton <anton@picapica>2019-05-26 02:18:02 +0400
committerAnton <anton@picapica>2019-05-26 02:18:02 +0400
commitda5882b9786fd364be48e0a3669bb29f0186e5ca (patch)
treeda0b65686fa0caa7531eb15aed977c41e772610b /configure.ac
parent62ba88a187fa98de39dd12093c214013128ed866 (diff)
downloadpica-pica-da5882b9786fd364be48e0a3669bb29f0186e5ca.tar.gz
pica-pica-da5882b9786fd364be48e0a3669bb29f0186e5ca.zip
OpenSSL compatibility fixes, makes source buildable with OpenSSL 1.1.0
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 66b4f32..8381a2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,7 @@ AS_IF([test "x$qt_version" = xqt5],
# Checks for common libraries, required by both pica-node and pica-client
AC_SEARCH_LIBS([dlopen], [dl])
AC_CHECK_LIB([crypto], [RAND_add],[],[AC_MSG_ERROR(["libcrypto from OpenSSL package not found"])],[ -lz ])
-AC_CHECK_LIB([ssl], [SSL_library_init],[],[AC_MSG_ERROR(["libssl from OpenSSL package not found"])])
+AC_CHECK_LIB([ssl], [SSL_new],[],[AC_MSG_ERROR(["libssl from OpenSSL package not found"])])
AC_CHECK_LIB([pthread], [pthread_create])
#checking if pica-node is disabled