mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
Merge 13.0->trunk
This commit is contained in:
commit
521b13beb5
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ local function add_sni_host(host, service)
|
||||||
log("error", "Error creating TLS context for SNI host %s: %s", host, err);
|
log("error", "Error creating TLS context for SNI host %s: %s", host, err);
|
||||||
else
|
else
|
||||||
local ok, err = active_service.server:sslctx():set_sni_host(
|
local ok, err = active_service.server:sslctx():set_sni_host(
|
||||||
host,
|
alternate_host or host,
|
||||||
cfg.certificate,
|
cfg.certificate,
|
||||||
cfg.key
|
cfg.key
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue