mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
Don't set twice
This commit is contained in:
parent
1698956f34
commit
6dca89f616
@ -891,8 +891,8 @@ normalize_path([Part | Path], Norm) ->
|
||||
-spec get_certfile([proplists:property()]) -> binary() | undefined.
|
||||
get_certfile(Opts) ->
|
||||
case lists:keyfind(certfile, 1, Opts) of
|
||||
{_, CertFile} ->
|
||||
CertFile;
|
||||
{_, _CertFile} ->
|
||||
undefined;
|
||||
false ->
|
||||
case ejabberd_pkix:get_certfile(?MYNAME) of
|
||||
{ok, CertFile} ->
|
||||
|
Loading…
Reference in New Issue
Block a user