projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d922411
)
certmanager: Add single_dh_use and single_ecdh_use to default options
author
Matthew Wild
<mwild1@gmail.com>
Wed, 12 Jun 2013 23:45:41 +0000
(
00:45
+0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 12 Jun 2013 23:45:41 +0000
(
00:45
+0100)
core/certmanager.lua
patch
|
blob
|
history
diff --git
a/core/certmanager.lua
b/core/certmanager.lua
index 905a03cdae756d24e60e8590175c78ca20791f57..4bcac40d9e440d4544f2da2bd02ee1423ff8fafa 100644
(file)
--- 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;