1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 22:26:39 +02:00

Bump the minimum OpenSSL version to 1.1.1.

Close #517.
This commit is contained in:
Sadie Powell
2025-07-01 00:00:42 +01:00
parent 6cc997c4e9
commit 0f5f2aef2e
+3 -1
View File
@@ -12,7 +12,7 @@
#include "module.h"
#include "modules/ssl.h"
#define OPENSSL_API_COMPAT 0x10100000L
#define OPENSSL_API_COMPAT 0x10101000L
#define OPENSSL_NO_DEPRECATED
#include <openssl/bio.h>
@@ -126,7 +126,9 @@ public:
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());
#ifdef OPENSSL_VERSION_STR
Log(this) << "Module was compiled against OpenSSL version " << OPENSSL_VERSION_STR << " and is running against version " << OpenSSL_version(OPENSSL_VERSION_STRING);
#endif
}
~SSLModule()