Boost logo

Boost :

Subject: [boost] [asio] running code before ssl initialization
From: Isidor Zeuner (boost_at_[hidden])
Date: 2011-12-20 01:19:12


Hi,

boost::asio::ssl::detail::openssl_init<true>::do_init initializes the
SSL library using the static initialization hook, thereby preventing
code being ran from main() which must be run before SSL initalization
(for example custom allocators being set using
CRYPTO_set_mem_functions). Is there an intended way to do so when
using boost::asio::ssl?

Best regards,

Isidor


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk