mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-30 16:36:29 +01:00
Support undefinition of ssl:seed in R15B
This commit is contained in:
parent
09a5fafc8a
commit
9912e1b548
@ -438,7 +438,7 @@ init([]) ->
|
|||||||
end;
|
end;
|
||||||
init({Hosts, Port, Rootdn, Passwd, Opts}) ->
|
init({Hosts, Port, Rootdn, Passwd, Opts}) ->
|
||||||
catch ssl:start(),
|
catch ssl:start(),
|
||||||
ssl:seed(randoms:get_string()),
|
catch ssl:seed(randoms:get_string()),
|
||||||
Encrypt = case proplists:get_value(encrypt, Opts) of
|
Encrypt = case proplists:get_value(encrypt, Opts) of
|
||||||
tls -> tls;
|
tls -> tls;
|
||||||
_ -> none
|
_ -> none
|
||||||
|
Loading…
Reference in New Issue
Block a user