reddcoin-project / reddcoin-3.10

Reddcoin: the digital social currency
http://www.reddcoin.com
MIT License
285 stars 114 forks source link

Adding Boost 1.66 Support #137

Closed MatWaller closed 5 years ago

MatWaller commented 5 years ago

Currently if you try to build ReddCoin against newer version of boost the build will fail with the errors

error: no matching constructor for initialization of 'boost::asio::ssl::context'boost::asio::ssl::context context(io_service, boost::asio::ssl::context::sslv23);
rpcserver.cpp:651:50: error: no member named 'impl' in 'boost::asio::ssl::context' SSL_CTX_set_cipher_list(rpc_ssl_context->impl(), strCiphers.c_str());

I have updated rpcclient.cpp & rpcserver.cpp and the build is now successful on newer releases of the boost libraries.