mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Merge pull request #1269 from chipitsine/openssl_version_agnostic
use SSL_SECOP_VERSION macro instead of OPENSSL_VERSION
This commit is contained in:
commit
586c27d43b
@ -5750,7 +5750,7 @@ SSL_PIPE *NewSslPipeEx(bool server_mode, X *x, K *k, DH_CTX *dh, bool verify_pee
|
|||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
// Cannot get config
|
// Cannot get config
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
#ifdef SSL_SECOP_VERSION
|
||||||
if (sock->SslAcceptSettings.Override_Security_Level)
|
if (sock->SslAcceptSettings.Override_Security_Level)
|
||||||
{
|
{
|
||||||
SSL_CTX_set_security_level(ssl_ctx, sock->SslAcceptSettings.Override_Security_Level_Value);
|
SSL_CTX_set_security_level(ssl_ctx, sock->SslAcceptSettings.Override_Security_Level_Value);
|
||||||
|
Loading…
Reference in New Issue
Block a user