mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
parent
9ba471e210
commit
4e49919d16
1 changed files with 2 additions and 2 deletions
|
@ -891,8 +891,8 @@ normalize_path([Part | Path], Norm) ->
|
||||||
-spec get_certfile([proplists:property()]) -> binary() | undefined.
|
-spec get_certfile([proplists:property()]) -> binary() | undefined.
|
||||||
get_certfile(Opts) ->
|
get_certfile(Opts) ->
|
||||||
case lists:keyfind(certfile, 1, Opts) of
|
case lists:keyfind(certfile, 1, Opts) of
|
||||||
{_, _CertFile} ->
|
{_, CertFile} ->
|
||||||
undefined;
|
CertFile;
|
||||||
false ->
|
false ->
|
||||||
case ejabberd_pkix:get_certfile(?MYNAME) of
|
case ejabberd_pkix:get_certfile(?MYNAME) of
|
||||||
{ok, CertFile} ->
|
{ok, CertFile} ->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue