i2pd: [Boost bug] compilation with libressl
Hi,
following a bug on gentoo bugzilla, https://bugs.gentoo.org/show_bug.cgi?id=597798
There seems to be a problem with building 2.10.0 release with libressl. We tried the patch at https://github.com/PurpleI2P/i2pd/commit/ed09c1171bc2b5ce3e41d8051d7e404343026005, it does not solve the issue. The error looks like
In file included from /usr/include/boost/asio/ssl/context.hpp:786:0,
from /usr/include/boost/asio/ssl.hpp:19,
from /var/tmp/portage/net-misc/i2pd-2.10.0/work/i2pd-2.10.0/Reseed.cpp:5:
/usr/include/boost/asio/ssl/impl/context.ipp: In destructor ‘boost::asio::ssl::context::~context()’:
/usr/include/boost/asio/ssl/impl/context.ipp:232:25: error: ‘::SSL_CTX_get_default_passwd_cb_userdata’ has not been declared
void* cb_userdata = ::SSL_CTX_get_default_passwd_cb_userdata(handle_);
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 28 (24 by maintainers)
course.
cat files/boost-1.62.0-asio-libressl.patch
it’s from libressl overlay for gentoo please note what this patch should be applied to boost sources, not i2pd sources
The right way it to eliminate boost::asio::ssl completely