aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-06-11 21:44:53 +0100
committerMatthew Wild <mwild1@gmail.com>2013-06-11 21:44:53 +0100
commitb4884d7aabd7a4a13cb02bea60c49ea2208a084b (patch)
treee7e1db17d1091fb1766d424cbb64fe684899ca85 /core/certmanager.lua
parentef858fb3e443193abcf221b8727bfa75ba83639a (diff)
downloadprosody-b4884d7aabd7a4a13cb02bea60c49ea2208a084b.tar.gz
prosody-b4884d7aabd7a4a13cb02bea60c49ea2208a084b.zip
certmanager: Use 'curve' and 'dhparam' options from ssl config if present
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 49f445f6..f9a54cb1 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -62,6 +62,8 @@ 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;
+ dhparam = user_ssl_config.dhparam;
};
local ctx, err = ssl_newcontext(ssl_config);