mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
parent
c0a89e328a
commit
9d144bd495
@ -259,7 +259,7 @@ tls_options(#{lserver := LServer, tls_options := DefaultOpts}) ->
|
|||||||
ejabberd_config:get_option(
|
ejabberd_config:get_option(
|
||||||
{domain_certfile, LServer},
|
{domain_certfile, LServer},
|
||||||
fun iolist_to_binary/1)) of
|
fun iolist_to_binary/1)) of
|
||||||
undefined -> [];
|
undefined -> DefaultOpts;
|
||||||
CertFile -> lists:keystore(certfile, 1, DefaultOpts,
|
CertFile -> lists:keystore(certfile, 1, DefaultOpts,
|
||||||
{certfile, CertFile})
|
{certfile, CertFile})
|
||||||
end,
|
end,
|
||||||
|
@ -204,7 +204,7 @@ tls_options(LServer, DefaultOpts) ->
|
|||||||
ejabberd_config:get_option(
|
ejabberd_config:get_option(
|
||||||
{domain_certfile, LServer},
|
{domain_certfile, LServer},
|
||||||
fun iolist_to_binary/1)) of
|
fun iolist_to_binary/1)) of
|
||||||
undefined -> [];
|
undefined -> DefaultOpts;
|
||||||
CertFile -> lists:keystore(certfile, 1, DefaultOpts,
|
CertFile -> lists:keystore(certfile, 1, DefaultOpts,
|
||||||
{certfile, CertFile})
|
{certfile, CertFile})
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user