]> granicus.if.org Git - ejabberd/commitdiff
Support undefinition of ssl:seed in R15B
authorBadlop <badlop@process-one.net>
Fri, 23 Dec 2011 11:19:38 +0000 (12:19 +0100)
committerBadlop <badlop@process-one.net>
Fri, 23 Dec 2011 11:19:38 +0000 (12:19 +0100)
src/eldap/eldap.erl

index aa22e1849f6a145bf6403d4448716089f0cb15ba..354ab297e7e9dcd58e4638baeb4bd6c47efecbd3 100644 (file)
@@ -439,7 +439,7 @@ init([]) ->
     end;
 init({Hosts, Port, Rootdn, Passwd, Opts}) ->
     catch ssl:start(),
-    ssl:seed(randoms:get_string()),
+    catch ssl:seed(randoms:get_string()),
     Encrypt = case proplists:get_value(encrypt, Opts) of
                  tls -> tls;
                  _ -> none