Opened 11 years ago

Closed 10 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:

Description

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

In such event, in

boost/asio/ssl/detail/openssl_types.hpp

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 11 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 11 years ago

Attachment: boost_patch.txt added

comment:1 by chris_kohlhoff, 10 years ago

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.