aboutsummaryrefslogtreecommitdiffstats
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
commit9e8f445b666230317e51ec750c050e4b5f4e20fd (patch)
treee7e1db17d1091fb1766d424cbb64fe684899ca85
parent72d7fea4c2a2dfab163478dff2a6f7fe1efa4181 (diff)
downloadprosody-9e8f445b666230317e51ec750c050e4b5f4e20fd.tar.gz
prosody-9e8f445b666230317e51ec750c050e4b5f4e20fd.zip
certmanager: Use 'curve' and 'dhparam' options from ssl config if present
-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);