Introduce DisableSslVersions.

The SSL Versions specified will be disabled on server context.
This commit is contained in:
Raymond Tau committed 2015-11-10 00:55:24 +08:00
1 parent d3a1b26413
commit 8b1b67faed
5 files changed
+67 -11

No files matched your search

+2 -4
View File
@@ -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