ssf icon indicating copy to clipboard operation
ssf copied to clipboard

OpenSSL 1.1.1 / Boost 1.7x support?

Open v20z opened this issue 3 years ago • 1 comments

Dear developers,

Is there plans for new release that will support modern OpensSSL and Boost?

The versions used are already very outdated, which almost completely prevents building on new systems with updated components and libraries, thus it completely excludes the point of using the product.

Thank You.

v20z avatar Aug 24 '21 22:08 v20z

I'm seeing a build issue on Rocky Linux 8.5:

[ 6%] Building CXX object src/network/CMakeFiles/ssf_network.dir/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp.o /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp: In function ‘ssf::layer::cryptography::detail::ExtendedTLSContext ssf::layer::cryptography::detail::make_tls_context(boost::asio::io_service&, const LayerParameters&)’: /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp:82:38: error: ‘COMP_rle’ was not declared in this scope SSL_COMP_add_compression_method(0, COMP_rle()); ^~~~~~~~ /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp:82:38: note: suggested alternative: ‘COMP_zlib’ SSL_COMP_add_compression_method(0, COMP_rle()); ^~~~~~~~ COMP_zlib /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp: In function ‘bool ssf::layer::cryptography::detail::VerifyCertificate(bool, boost::asio::ssl::verify_context&)’: /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp:228:27: error: invalid use of incomplete type ‘X509_STORE_CTX’ {aka ‘struct x509_store_ctx_st’} X509* issuer = peer_cert->current_issuer; ^~ In file included from /usr/include/openssl/crypto.h:25, from /usr/include/openssl/bio.h:20, from /usr/include/openssl/conf.h:13, from /usr/include/boost/asio/ssl/detail/openssl_types.hpp:20, from /usr/include/boost/asio/ssl/context_base.hpp:19, from /usr/include/boost/asio/ssl/context.hpp:23, from /usr/include/boost/asio/ssl.hpp:18, from /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.h:11, from /usr/local/src/ssf/src/network/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp:1: /usr/include/openssl/ossl_typ.h:131:16: note: forward declaration of ‘X509_STORE_CTX’ {aka ‘struct x509_store_ctx_st’} typedef struct x509_store_ctx_st X509_STORE_CTX; ^~~~~~~~~~~~~~~~~ make[2]: *** [src/network/CMakeFiles/ssf_network.dir/build.make:90: src/network/CMakeFiles/ssf_network.dir/ssf/layer/cryptography/tls/OpenSSL/helpers.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:409: src/network/CMakeFiles/ssf_network.dir/all] Error 2 make: *** [Makefile:136: all] Error 2

boost-1.66.0-10.el8.x86_64 openssl-1.1.1k-5.el8_5.x86_64

xxedgexx avatar Jan 24 '22 02:01 xxedgexx