Permalink
Browse files

R15B fix: ssl:seed/1 no longer exists (and has only been used by old_…

…ssl for ages).
  • Loading branch information...
1 parent a7d43c7 commit 65c46983768f482450d4be764386051dc71edffa Simon MacMullen committed Dec 14, 2011
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/eldap.erl
View
@@ -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]).

0 comments on commit 65c4698

Please sign in to comment.