Software /
code /
prosody
Changeset
5378:ec3accda44d3
mod_tls: More use of config sections removed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Mar 2013 02:35:50 +0100 |
parents | 5377:898454038524 |
children | 5379:27de7cc94111 |
files | plugins/mod_tls.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_tls.lua Sat Mar 23 02:33:15 2013 +0100 +++ b/plugins/mod_tls.lua Sat Mar 23 02:35:50 2013 +0100 @@ -92,10 +92,10 @@ end); function module.load() - local ssl_config = config.rawget(module.host, "core", "ssl"); + local ssl_config = config.rawget(module.host, "ssl"); if not ssl_config then local base_host = module.host:match("%.(.*)"); - ssl_config = config.get(base_host, "core", "ssl"); + ssl_config = config.get(base_host, "ssl"); end host.ssl_ctx = create_context(host.host, "client", ssl_config); -- for outgoing connections host.ssl_ctx_in = create_context(host.host, "server", ssl_config); -- for incoming connections