diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-06-11 21:44:53 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-06-11 21:44:53 +0100 |
commit | 0f42a185a44af72bbd7baab0f44f668c851943b4 (patch) | |
tree | e7e1db17d1091fb1766d424cbb64fe684899ca85 | |
parent | 67a581c24ba315baba14813c24a7f887e084d994 (diff) | |
download | prosody-0f42a185a44af72bbd7baab0f44f668c851943b4.tar.gz prosody-0f42a185a44af72bbd7baab0f44f668c851943b4.zip |
certmanager: Use 'curve' and 'dhparam' options from ssl config if present
-rw-r--r-- | core/certmanager.lua | 2 |
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); |