# HG changeset patch # User Kim Alvefur # Date 1398021926 -7200 # Node ID 821756a862b085684e466f0e2ce6cac5323d6e84 # Parent 3b4fde51fa25809d120b0f7fddda2bb3b5f2feab certmanager: Fix traceback if no global 'ssl' section set (thanks albert) diff -r 3b4fde51fa25 -r 821756a862b0 core/certmanager.lua --- a/core/certmanager.lua Sat Apr 19 21:59:53 2014 +0200 +++ b/core/certmanager.lua Sun Apr 20 21:25:26 2014 +0200 @@ -111,7 +111,9 @@ 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