mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-10 01:34:58 +03:00
Introduce DisableSslVersions.
The SSL Versions specified will be disabled on server context.
This commit is contained in:
@ -3137,10 +3137,8 @@ void ConnectionAccept(CONNECTION *c)
|
||||
|
||||
// Start the SSL communication
|
||||
Debug("StartSSL()\n");
|
||||
if (c->Cedar->AcceptOnlyTls)
|
||||
{
|
||||
s->AcceptOnlyTls = true;
|
||||
}
|
||||
s->DisableSslVersions = c->Cedar->DisableSslVersions;
|
||||
|
||||
if (StartSSL(s, x, k) == false)
|
||||
{
|
||||
// Failed
|
||||
|
Reference in New Issue
Block a user