core/certmanager.lua

changeset 2628
04958fb28c44
parent 2564
6b4fe320a6ea
child 2631
77f135c7689a
--- a/core/certmanager.lua	Sat Feb 13 15:34:33 2010 +0000
+++ b/core/certmanager.lua	Sat Feb 13 16:08:43 2010 +0000
@@ -18,7 +18,7 @@
 -- Global SSL options if not overridden per-host
 local default_ssl_config = configmanager.get("*", "core", "ssl");
 
-function get_context(host, mode, config)
+function create_context(host, mode, config)
 	local ssl_config = config and config.core.ssl or default_ssl_config;
 	if ssl and ssl_config then
 		return ssl_newcontext(setmetatable(ssl_config, mode == "client" and default_ssl_ctx_mt or default_ssl_ctx_in_mt));

mercurial