Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSSL 1.1.1 / Boost 1.7x support? #96

Open
v20z opened this issue Aug 24, 2021 · 1 comment
Open

OpenSSL 1.1.1 / Boost 1.7x support? #96

v20z opened this issue Aug 24, 2021 · 1 comment

Comments

@v20z
Copy link

v20z commented Aug 24, 2021

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.

@xxedgexx
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants