Index: boost/asio/ssl/detail/openssl_types.hpp =================================================================== --- boost/asio/ssl/detail/openssl_types.hpp  (revision 000) +++ boost/asio/ssl/detail/openssl_types.hpp  (working copy) @@ -18,7 +18,16 @@  #include  #include  #include +// Special hack for boost with openssl on Android +// Android uses no ssl engine, and boost asio need +// to ignore such include. Asio code later call +// ENGINE_cleanup, therefore a default implementation +// is provided here to avoid further patching. +#ifdef OPENSSL_NO_ENGINE +static void ENGINE_cleanup(void) {}; +#else  #include +#endif  #include  #include