#include <SslContext.h>
bool Battlenet::SslContext::Initialize |
( |
| ) |
|
|
static |
23 boost::system::error_code err;
25 #define LOAD_CHECK(fn) do { fn; \
28 TC_LOG_ERROR("server.ssl", #fn " failed: %s", err.message().c_str()); \
34 LOAD_CHECK(
instance().use_private_key_file(
"bnetserver.key.pem", boost::asio::ssl::context::pem, err));
static boost::asio::ssl::context & instance()
Definition: SslContext.cpp:41
boost::asio::ssl::context & Battlenet::SslContext::instance |
( |
| ) |
|
|
static |
43 static boost::asio::ssl::context context(boost::asio::ssl::context::sslv23);
The documentation for this class was generated from the following files: