diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-06-13 00:45:41 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-06-13 00:45:41 +0100 |
commit | 0aef21fc95c949fcf2cfaf1a841de9cf04c49f87 (patch) | |
tree | 8c2ff5b68c1c484b1c4ee8607a8994bd64d7f480 /core/certmanager.lua | |
parent | 1290bf766c700f939d9f63da1968b1e6357c75bf (diff) | |
download | prosody-0aef21fc95c949fcf2cfaf1a841de9cf04c49f87.tar.gz prosody-0aef21fc95c949fcf2cfaf1a841de9cf04c49f87.zip |
certmanager: Add single_dh_use and single_ecdh_use to default options
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r-- | core/certmanager.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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; |