1
0
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:
Sadie Powell
2025-02-18 11:48:43 +00:00
parent 3bba87b655
commit 9f82a960e4
7 changed files with 15 additions and 1 deletions
+2
View File
@@ -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()