1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-07-20 10:21:32 +03:00

Support SSL_get1_supported_ciphers() on LibreSSL above v2.9.1

Upstream changed on add79fb32686c1e8baf10def36ae00f8ab91a52b.
This commit is contained in:
synqa
2026-06-10 16:27:54 +09:00
parent 3fda39dc45
commit bfcb6788a7
+1 -1
View File
@@ -16346,7 +16346,7 @@ TOKEN_LIST *GetCipherList()
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);
#else
sk = SSL_get_ciphers(ssl);