diff options
author | Kim Alvefur <zash@zash.se> | 2013-10-15 01:38:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-10-15 01:38:02 +0200 |
commit | 66da3ac69a0c272a954278914cd7c4d7061bc344 (patch) | |
tree | b0fe7dbc40ec776c811a1efc89510497970b46c7 /core | |
parent | e8b3b94f25770dc15f108a4657c67845718b1cde (diff) | |
parent | e9b5aeb4c32a14773844d2e04cbde694e9521727 (diff) | |
download | prosody-66da3ac69a0c272a954278914cd7c4d7061bc344.tar.gz prosody-66da3ac69a0c272a954278914cd7c4d7061bc344.zip |
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r-- | core/certmanager.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua index caa4afce..0709c650 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -53,8 +53,12 @@ if ssl and not luasec_has_verifyext and ssl.x509 then end end -if luasec_has_no_compression and configmanager.get("*", "ssl_compression") ~= true then - core_defaults.options[#core_defaults.options+1] = "no_compression"; +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"; + if configmanager.get("*", "ssl_compression") ~= true then + core_defaults.options[#core_defaults.options+1] = "no_compression"; + end end function create_context(host, mode, user_ssl_config) |