aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-06-13 00:04:04 +0100
committerMatthew Wild <mwild1@gmail.com>2013-06-13 00:04:04 +0100
commit671b0e88ae4c839d1818702888e4d736ad26d6ff (patch)
tree65df41a76af9ea90ca8c35285f154dbd67d9302c /core
parent380a6fdefcee2534f0f2e0eb920eac4f9c76830d (diff)
downloadprosody-671b0e88ae4c839d1818702888e4d736ad26d6ff.tar.gz
prosody-671b0e88ae4c839d1818702888e4d736ad26d6ff.zip
certmanager: Set ssl.curve to 'secp384r1' by default, to enable ECC ciphers
Diffstat (limited to 'core')
-rw-r--r--core/certmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index f9a54cb1..905a03cd 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -62,7 +62,7 @@ function create_context(host, mode, user_ssl_config)
verifyext = user_ssl_config.verifyext or default_verifyext;
options = user_ssl_config.options or default_options;
depth = user_ssl_config.depth;
- curve = user_ssl_config.curve;
+ curve = user_ssl_config.curve or "secp384r1";
dhparam = user_ssl_config.dhparam;
};