diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-02-13 16:08:43 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-02-13 16:08:43 +0000 |
commit | cec65108c99a2291c993b9a11c83fa43a289f4f9 (patch) | |
tree | 0eeacebbb139c9d2dd4052ffd5e2bf7c90652497 /core/hostmanager.lua | |
parent | 2cdf73b6c3d8253849b68c9293f7df8550dc466b (diff) | |
download | prosody-cec65108c99a2291c993b9a11c83fa43a289f4f9.tar.gz prosody-cec65108c99a2291c993b9a11c83fa43a289f4f9.zip |
certmanager, hostmanager: Rename get_context() to create_context() to be more explicit about what it does
Diffstat (limited to 'core/hostmanager.lua')
-rw-r--r-- | core/hostmanager.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index f8d7400d..7071296f 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -65,8 +65,8 @@ function activate(host, host_config) end end - hosts[host].ssl_ctx = certmanager.get_context(host, "client", host_config); -- for outgoing connections - hosts[host].ssl_ctx_in = certmanager.get_context(host, "server", host_config); -- for incoming connections + hosts[host].ssl_ctx = certmanager.create_context(host, "client", host_config); -- for outgoing connections + hosts[host].ssl_ctx_in = certmanager.create_context(host, "server", host_config); -- for incoming connections log((hosts_loaded_once and "info") or "debug", "Activated host: %s", host); eventmanager.fire_event("host-activated", host, host_config); |