From 47a2577f269c3596043abec6e0ccbe1cf201e9f2 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 13 Jun 2013 00:45:41 +0100 Subject: certmanager: Add single_dh_use and single_ecdh_use to default options --- core/certmanager.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/certmanager.lua b/core/certmanager.lua index 905a03cd..4bcac40d 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -44,6 +44,11 @@ if luasec_has_no_compression and configmanager.get("*", "ssl_compression") ~= tr default_options[#default_options+1] = "no_compression"; end +if luasec_has_no_compression then -- Has no_compression? Then it has these too... + default_options[#default_options+1] = "single_dh_use"; + default_options[#default_options+1] = "single_ecdh_use"; +end + function create_context(host, mode, user_ssl_config) user_ssl_config = user_ssl_config or default_ssl_config; -- cgit v1.2.3