Opened 7 years ago

Closed 7 years ago

#6432 closed Bugs (fixed)

Asio needs to respect OPENSSL_NO_ENGINE preprocessor

Reported by: calebmei@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:


OpenSSL on some platform might have open SSL with preprocessor OPENSSL_NO_ENGINE. Specifically this is for Android.

In such event, in


should not include,

#include <openssl/engine.h>

And have to provide a default implementation for,

static void ENGINE_cleanup(void) {};

So that boost asio can call this function later on.

Here's the fix I did, please let me know if I should commit it back to the latest boost community.

Attachments (1)

boost_patch.txt (791 bytes) - added by anonymous 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by anonymous

Attachment: boost_patch.txt added

comment:1 Changed 7 years ago by chris_kohlhoff

Resolution: fixed
Status: newclosed

Fix applied to trunk in changeset [78663]. Applied to release branch in changeset [78708].

Note: See TracTickets for help on using tickets.