mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-07-21 10:51:33 +03:00
Support SSL_get1_supported_ciphers() on LibreSSL above v2.9.1
Upstream changed on add79fb32686c1e8baf10def36ae00f8ab91a52b.
This commit is contained in:
@@ -16346,7 +16346,7 @@ TOKEN_LIST *GetCipherList()
|
|||||||
return ciphers;
|
return ciphers;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || LIBRESSL_VERSION_NUMBER >= 0x2090100L
|
||||||
sk = SSL_get1_supported_ciphers(ssl);
|
sk = SSL_get1_supported_ciphers(ssl);
|
||||||
#else
|
#else
|
||||||
sk = SSL_get_ciphers(ssl);
|
sk = SSL_get_ciphers(ssl);
|
||||||
|
|||||||
Reference in New Issue
Block a user