Mercurial > prosody-hg
comparison core/certmanager.lua @ 3609:954b1159f2f3
prosody, configmanager, certmanager: Relocate prosody.resolve_relative_path() to configmanager, and update certmanager (the only user of this function)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 10 Nov 2010 19:46:53 +0000 |
| parents | 675d65036f31 |
| children | d6ba317cbc97 |
comparison
equal
deleted
inserted
replaced
| 3608:ae0f83feaff4 | 3609:954b1159f2f3 |
|---|---|
| 12 local ssl_newcontext = ssl and ssl.newcontext; | 12 local ssl_newcontext = ssl and ssl.newcontext; |
| 13 | 13 |
| 14 local setmetatable, tostring = setmetatable, tostring; | 14 local setmetatable, tostring = setmetatable, tostring; |
| 15 | 15 |
| 16 local prosody = prosody; | 16 local prosody = prosody; |
| 17 local resolve_path = prosody.resolve_relative_path; | 17 local resolve_path = configmanager.resolve_relative_path; |
| 18 local config_path = prosody.paths.config; | 18 local config_path = prosody.paths.config; |
| 19 | 19 |
| 20 module "certmanager" | 20 module "certmanager" |
| 21 | 21 |
| 22 -- Global SSL options if not overridden per-host | 22 -- Global SSL options if not overridden per-host |
