1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-26 18:19: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:
Ilya Shipitsin 2021-02-20 20:56:26 +05:00 committed by GitHub
commit 586c27d43b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5750,7 +5750,7 @@ SSL_PIPE *NewSslPipeEx(bool server_mode, X *x, K *k, DH_CTX *dh, bool verify_pee
#if 0
// Cannot get config
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
#ifdef SSL_SECOP_VERSION
if (sock->SslAcceptSettings.Override_Security_Level)
{
SSL_CTX_set_security_level(ssl_ctx, sock->SslAcceptSettings.Override_Security_Level_Value);