Opened 6 years ago
Last modified 6 years ago
#12575 new Patches
fix compilation of software using libressl and boost asio
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.62.0 | Severity: | Problem |
Keywords: | asio, ssl, libressl | Cc: | hendrik@… |
Description
Some software packages fail to compile when using libressl as ssl provider, e.g. https://bugs.gentoo.org/show_bug.cgi?id=596666#c9
This can be fixed by checking for presence of LIBRESSL_VERSION_NUMBER in addition to the value of OPENSSL_VERSION_NUMBER in boost/asio/ssl/impl/context.ipp
Attachments (1)
Change History (5)
by , 6 years ago
Attachment: | boost-1.62-asio-libressl.patch added |
---|
comment:1 by , 6 years ago
Cc: | added |
---|
comment:2 by , 6 years ago
Any updates here? I have been using this patch for several months with a few applications making use of SSL built against boost 1.62 without issue.
comment:3 by , 6 years ago
Pull request on github: https://github.com/boostorg/asio/pull/45
Seems I missed a line in my initial patch version.
comment:4 by , 6 years ago
Apologies, the version from GitHub is indeed what I have been using -- not that which is attached. For reference: https://github.com/ennui93/ennui/blob/master/dev-libs/boost/files/boost-1.62.0-libressl.patch
asio libressl compatibility patch