Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fails to build against OpenSSL version 1.1.0g #18
#Configure fails at:
I have OpenSSL version 1.1.0g instatlled.
I'd fix this, but I'm already to deep down the yak stack.
In OpenSSL 1.1.x the function OpenSSL_add_all_ciphers was deprecated and replaced with OPENSSL_init_crypto:
in configure.ac I replaced the OpenSSL_add_all_ciphers line with this:
AC_CHECK_LIB([crypto], [OPENSSL_init_crypto], , [have_libcrypto="0"])
then reran autogen.sh and that fixes the build for me on Fedora 26. At first glance xar seems to run fine.
Obviously, this is not my project, but I honestly don't think backwards compatibility with an older version of OpenSSL is an important factor. OpenSSL is an important security related library with a somewhat checkered history security wise. Supporting old, possible broken versions doesn't make a lot of sense, especially since 1.1.* has been out for for over a year. See https://www.openssl.org/news/openssl-1.1.0-notes.html