Skip to content

Commit

Permalink
R15B fix: ssl:seed/1 no longer exists (and has only been used by old_…
Browse files Browse the repository at this point in the history
…ssl for ages).
  • Loading branch information
Simon MacMullen committed Dec 14, 2011
1 parent a7d43c7 commit 65c4698
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/eldap.erl
Expand Up @@ -362,13 +362,6 @@ try_connect([],_) ->
do_connect(Host, Data, Opts) when Data#eldap.use_tls == false ->
gen_tcp:connect(Host, Data#eldap.port, Opts, Data#eldap.timeout);
do_connect(Host, Data, Opts) when Data#eldap.use_tls == true ->
Vsn = erlang:system_info(version),
if Vsn >= "5.3" ->
%% In R9C, but not in R9B
{_,_,X} = erlang:now(),
ssl:seed("bkrlnateqqo" ++ integer_to_list(X));
true -> true
end,
ssl:connect(Host, Data#eldap.port, [{verify,0}|Opts]).


Expand Down

0 comments on commit 65c4698

Please sign in to comment.