mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-10 17:54:58 +03:00
Guard variables with OpenSSL version
This commit is contained in:
@ -11905,8 +11905,10 @@ bool StartSSLEx3(SOCK *sock, X *x, K *priv, LIST *chain, UINT ssl_timeout, char
|
||||
Unlock(openssl_lock);
|
||||
}
|
||||
|
||||
SSL_set1_groups_list(sock->ssl, PQ_GROUP_LIST);
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
|
||||
SSL_set1_groups_list(sock->ssl, PQ_GROUP_LIST);
|
||||
#endif
|
||||
|
||||
if (sock->ServerMode)
|
||||
{
|
||||
// Lock(ssl_connect_lock);
|
||||
|
Reference in New Issue
Block a user