Fails to compile on Alpine Linux 3.9 (OpenSSL no-comp option) #607
Alpine Linux moved from LibreSSL to OpenSSL 1.1.1 for 3.9. As it stands, there are no commits that build.
I think I have narrowed it down to the fact that OpenSSL is built with the
The following patch to fix the build is as follows, although I'm sure this is not entirely safe, and I have not tested this on any other systems, it simply allows compilation. (See
diff --git a/daemon/connect/TlsSocket.cpp b/daemon/connect/TlsSocket.cpp index 5ab31644..544bf685 100644 --- a/daemon/connect/TlsSocket.cpp +++ b/daemon/connect/TlsSocket.cpp @@ -204,7 +204,9 @@ void TlsSocket::Final() //ENGINE_cleanup(); CONF_modules_free(); CONF_modules_unload(1); +#ifndef OPENSSL_NO_COMP COMP_zlib_cleanup(); +#endif ERR_free_strings(); EVP_cleanup(); CRYPTO_cleanup_all_ex_data();
The text was updated successfully, but these errors were encountered: