Opened 5 years ago

Closed 5 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 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by anonymous

comment:1 Changed 5 years ago by chris_kohlhoff

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain chris_kohlhoff.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.