projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d15cb8
)
certmanager: Use 'curve' and 'dhparam' options from ssl config if present
author
Matthew Wild
<mwild1@gmail.com>
Tue, 11 Jun 2013 20:44:53 +0000
(21:44 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Tue, 11 Jun 2013 20:44:53 +0000
(21:44 +0100)
core/certmanager.lua
patch
|
blob
|
history
diff --git
a/core/certmanager.lua
b/core/certmanager.lua
index 49f445f6e78d2d5b999d929a2e87739d7a96c4a2..f9a54cb1ed53220243021e2a675c8e95c0bf6c3c 100644
(file)
--- 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);