diff options
author | Kim Alvefur <zash@zash.se> | 2014-04-20 23:39:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-04-20 23:39:45 +0200 |
commit | 78485768ee3faccea47511db836410f7fa34c03e (patch) | |
tree | 98ca74d989832843edfb586f3e4c72d65ebd6819 /core/certmanager.lua | |
parent | c70505a8c46db03728c800f45ff627d555a500a4 (diff) | |
parent | 84ab9b78050508f04edaecdf502d111247ab1c75 (diff) | |
download | prosody-78485768ee3faccea47511db836410f7fa34c03e.tar.gz prosody-78485768ee3faccea47511db836410f7fa34c03e.zip |
Merge 0.10->trunk
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r-- | core/certmanager.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua index 8f1e1520..ced17e58 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -111,7 +111,9 @@ function create_context(host, mode, user_ssl_config) for option in pairs(set_options) do local merged = {}; merge_set(core_defaults[option], merged); - merge_set(global_ssl_config[option], merged); + if global_ssl_config then + merge_set(global_ssl_config[option], merged); + end merge_set(user_ssl_config[option], merged); local final_array = {}; for opt, enable in pairs(merged) do |