Commit 6c9540d4 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed TLS detection when using openSSL >= 1.0.2

parent 0acef77d
......@@ -23,7 +23,7 @@ else
AC_DEFINE([HAVE_LIBCRYPTO], 1, [Define to 1 if you have the `crypto' library (-lcrypto).])
AC_DEFINE([HAVE_LIBSSL], 1, [Define to 1 if you have the `ssl' library (-lssl).])
else
AC_CHECK_HEADERS([openssl/tls1.h], [
AC_CHECK_HEADERS([openssl/crypto.h openssl/x509.h openssl/pem.h openssl/ssl.h openssl/tls1.h openssl/err.h], [
HAVE_OPENSSL=1 HAVE_TLS=1
AC_CHECK_LIB(crypto, BIO_new,,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment