mirror of
https://github.com/anope/anope.git
synced 2026-07-04 22:13:12 +02:00
Log the version of third-party libraries on load.
This commit is contained in:
@@ -125,6 +125,8 @@ public:
|
||||
Anope::string context_name = "Anope";
|
||||
SSL_CTX_set_session_id_context(client_ctx, reinterpret_cast<const unsigned char *>(context_name.c_str()), context_name.length());
|
||||
SSL_CTX_set_session_id_context(server_ctx, reinterpret_cast<const unsigned char *>(context_name.c_str()), context_name.length());
|
||||
|
||||
Log() << "Module was compiled against OpenSSL version " << OPENSSL_VERSION_STR << " and is running against version " << OpenSSL_version(OPENSSL_VERSION_STRING);
|
||||
}
|
||||
|
||||
~SSLModule()
|
||||
|
||||
Reference in New Issue
Block a user