diff options
author | Ovahlord <dreadkiller@gmx.de> | 2024-05-12 15:48:39 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2024-05-12 15:48:39 +0200 |
commit | 728e7c7fcf2435172a86e621746db5218bdda0cd (patch) | |
tree | bea95b46f6208eac21900f854c3e7b01fef28367 /src/server/bnetserver/Server/SslContext.cpp | |
parent | 500301b96256792357b13ef78d7e1836028cff26 (diff) |
Core/Cryptography: dropped support for OpenSSL 1.1
OpenSSL 1.1 has been deprecated for quite some time now so it is time to put it to rest. Please upgrade to OpenSSL 3.x
Diffstat (limited to 'src/server/bnetserver/Server/SslContext.cpp')
-rw-r--r-- | src/server/bnetserver/Server/SslContext.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/bnetserver/Server/SslContext.cpp b/src/server/bnetserver/Server/SslContext.cpp index c59e897ffbd..e9192475a62 100644 --- a/src/server/bnetserver/Server/SslContext.cpp +++ b/src/server/bnetserver/Server/SslContext.cpp @@ -51,10 +51,8 @@ auto OpenOpenSSLStore(boost::filesystem::path const& storePath, UI_METHOD const* boost::system::error_code GetLastOpenSSLError() { auto ossl_error = ::ERR_get_error(); -#if OPENSSL_VERSION_NUMBER >= 0x30000000L if (ERR_SYSTEM_ERROR(ossl_error)) return boost::system::error_code(static_cast<int>(::ERR_GET_REASON(ossl_error)), boost::asio::error::get_system_category()); -#endif return boost::system::error_code(static_cast<int>(ossl_error), boost::asio::error::get_ssl_category()); } |