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
commit040187b661db063f291ee117982a5858389179d0 (patch)
treee7e1db17d1091fb1766d424cbb64fe684899ca85 /core/certmanager.lua
parent54e380045fc91e64c3234b5c073485df0a28093e (diff)
downloadprosody-040187b661db063f291ee117982a5858389179d0.tar.gz
prosody-040187b661db063f291ee117982a5858389179d0.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);