Opened 6 years ago

Last modified 6 years ago

#12575 new Patches

fix compilation of software using libressl and boost asio

Reported by: Reinhard Biegel <r.biegel@…> 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)

boost-1.62-asio-libressl.patch (2.1 KB ) - added by Reinhard Biegel <r.biegel@…> 6 years ago.
asio libressl compatibility patch

Download all attachments as: .zip

Change History (5)

by Reinhard Biegel <r.biegel@…>, 6 years ago

asio libressl compatibility patch

comment:1 by hendrik@…, 6 years ago

Cc: hendrik@… added

comment:2 by gentoo@…, 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 Reinhard Biegel <r.biegel@…>, 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 gentoo@…, 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

Note: See TracTickets for help on using tickets.